Class LivingEvents
java.lang.Object
net.ixdarklord.coolcatcore.api.event.v2.common.LivingEvents
Living entities (players too) being hurt, dying and changing what they wear or hold, on the server.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn entity is about to take damage, before armor and effects reduce it; interrupting stops the damage (no hurt flash, no knockback).static interfaceAn entity is about to die; interrupting keeps it alive.static interfaceWhat an entity wears or holds in a slot changed (armor, hands, body, saddle), noticed on its next tick. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventInvoker<LivingEvents.Damage> static final EventInvoker<LivingEvents.Death> static final EventInvoker<LivingEvents.EquipmentChange> -
Method Summary
-
Field Details
-
DAMAGE
-
DEATH
-
EQUIPMENT_CHANGE
-