Class ServerEntityEvents

java.lang.Object
net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents

public final class ServerEntityEvents extends Object
  • Field Details

    • ENTITY_LOAD

      public static final Event<ServerEntityEvents.Load> ENTITY_LOAD
      Called when an Entity is loaded into a ServerWorld.

      When this event is called, the entity is already in the world.

      Note there is no corresponding unload event because entity unloads cannot be reliably tracked.