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.
  • Field Details

    • AFTER_KILLED_OTHER_ENTITY

      public static final Event<ServerEntityCombatEvents.AfterKilledOtherEntity> AFTER_KILLED_OTHER_ENTITY
      An event that is called after an entity is directly responsible for killing another entity.
      See Also:
      Entity.onKilledOther(ServerWorld, LivingEntity)