Class EntityDamageEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.EntityDamageEvent
This event is fired when an
LivingEntity takes damage using the
LivingEntity.takeDamage(int) method. Changing the amount will result
in the damage changing. Cancelling the event will result in the entity taking
no damage.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
entity
-
amount
public int amount
-
-
Constructor Details
-
EntityDamageEvent
-