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 Summary

    Modifier and Type
    Method
    Description
    void
    afterKilledOtherEntity(net.minecraft.server.world.ServerWorld world, net.minecraft.entity.Entity entity, net.minecraft.entity.LivingEntity killedEntity)
    Called after an entity has killed another entity.
  • Method Details

    • afterKilledOtherEntity

      void afterKilledOtherEntity(net.minecraft.server.world.ServerWorld world, net.minecraft.entity.Entity entity, net.minecraft.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