Class ServerEntityCombatEvents
java.lang.Object
net.fabricmc.fabric.api.entity.event.v1.ServerEntityCombatEvents
Events related to entities in combat.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Event<ServerEntityCombatEvents.AfterKilledOtherEntity>
An event that is called after an entity is directly responsible for killing another entity. -
Method Summary
-
Field Details
-
AFTER_KILLED_OTHER_ENTITY
public static final Event<ServerEntityCombatEvents.AfterKilledOtherEntity> AFTER_KILLED_OTHER_ENTITYAn event that is called after an entity is directly responsible for killing another entity.- See Also:
-
Entity.onKilledOther(ServerWorld, LivingEntity)
-