Class ServerEntityCombatEvents
java.lang.Object
net.fabricmc.fabric.api.entity.event.v1.ServerEntityCombatEvents
public final class ServerEntityCombatEvents extends Object
Events related to entities in combat.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ServerEntityCombatEvents.AfterKilledOtherEntity
-
Field Summary
Fields Modifier and Type Field Description static Event<ServerEntityCombatEvents.AfterKilledOtherEntity>
AFTER_KILLED_OTHER_ENTITY
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)
-