Interface PlanFabricEvents.OnKilled

Enclosing class:
PlanFabricEvents
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 PlanFabricEvents.OnKilled
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onKilled(net.minecraft.entity.LivingEntity killed, net.minecraft.entity.Entity killer)
    Called when a living entity is killed
  • Method Details

    • onKilled

      void onKilled(net.minecraft.entity.LivingEntity killed, net.minecraft.entity.Entity killer)
      Called when a living entity is killed
      Parameters:
      killed - the entity that died
      killer - the entity that killed