Class ClientEntityEvents

java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents

@Environment(CLIENT)
public final class ClientEntityEvents
extends Object
  • Field Details

    • ENTITY_LOAD

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

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

    • ENTITY_UNLOAD

      public static final Event<ClientEntityEvents.Unload> ENTITY_UNLOAD
      Called when an Entity is about to be unloaded from a ClientWorld.

      When this event is called, the entity is still present in the world.

  • Constructor Details

    • ClientEntityEvents

      public ClientEntityEvents()