public class LivingHealEvent extends LivingEvent
EntityLivingBase#heal(float)
ForgeEventFactory#onLivingHeal(EntityLivingBase, float)
.amount
contains the amount of healing done to the Entity that was healed. Cancelable
.HasResult
MinecraftForge.EVENT_BUS
.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private float |
amount |
Constructor and Description |
---|
LivingHealEvent(LivingEntity entity,
float amount) |
Modifier and Type | Method and Description |
---|---|
float |
getAmount() |
void |
setAmount(float amount) |
getEntityLiving
getEntity
public LivingHealEvent(LivingEntity entity, float amount)