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
Constructor and Description |
---|
LivingHealEvent(EntityLivingBase entity,
float amount) |
Modifier and Type | Method and Description |
---|---|
float |
getAmount() |
void |
setAmount(float amount) |
getEntityLiving
getEntity
public LivingHealEvent(EntityLivingBase entity, float amount)