Interface ServerEntityLoadEvents.AfterUnload

All Superinterfaces:
EventAwareListener
Enclosing class:
ServerEntityLoadEvents
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 ServerEntityLoadEvents.AfterUnload extends EventAwareListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onUnload(net.minecraft.entity.Entity entity, net.minecraft.server.world.ServerWorld world)
    Called after an entity has been unloaded from a server world.
  • Method Details

    • onUnload

      void onUnload(net.minecraft.entity.Entity entity, net.minecraft.server.world.ServerWorld world)
      Called after an entity has been unloaded from a server world.
      Parameters:
      entity - the entity which has been unloaded
      world - the world the entity has been unloaded from