Interface ServerEntityCombatEvents.AfterKilledOtherEntity

Enclosing class:
ServerEntityCombatEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ServerEntityCombatEvents.AfterKilledOtherEntity
  • Method Details

    • afterKilledOtherEntity

      void afterKilledOtherEntity(ServerWorld world, Entity entity, LivingEntity killedEntity)
      Called after an entity has killed another entity.
      Parameters:
      world - the world
      entity - the entity
      killedEntity - the entity which was killed by the entity