@FunctionalInterface public static interface ServerEntityCombatEvents.AfterKilledOtherEntity
Modifier and Type | Method and 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.
|
void afterKilledOtherEntity(net.minecraft.server.world.ServerWorld world, net.minecraft.entity.Entity entity, net.minecraft.entity.LivingEntity killedEntity)
world
- the worldentity
- the entitykilledEntity
- the entity which was killed by the entity