@Environment(value=CLIENT) public final class ClientEntityEvents extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClientEntityEvents.Load |
static interface |
ClientEntityEvents.Unload |
Modifier and Type | Field and Description |
---|---|
static Event<ClientEntityEvents.Load> |
ENTITY_LOAD
Called when an Entity is loaded into a ClientWorld.
|
static Event<ClientEntityEvents.Unload> |
ENTITY_UNLOAD
Called when an Entity is about to be unloaded from a ClientWorld.
|
Constructor and Description |
---|
ClientEntityEvents() |
public static final Event<ClientEntityEvents.Load> ENTITY_LOAD
When this event is called, the chunk is already in the world.
public static final Event<ClientEntityEvents.Unload> ENTITY_UNLOAD
When this event is called, the entity is still present in the world.