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
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private float |
amount |
Constructor and Description |
---|
LivingHealEvent(EntityLivingBase entity,
float amount) |
Modifier and Type | Method and Description |
---|---|
float |
getAmount() |
void |
setAmount(float amount) |
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public LivingHealEvent(EntityLivingBase entity, float amount)