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.HasResultMinecraftForge.EVENT_BUS.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.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) |
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic LivingHealEvent(EntityLivingBase entity, float amount)