public class LivingHealEvent extends LivingEvent
ForgeHooks#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
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)