Class ClientEntityEvents
java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents
@Environment(CLIENT) public final class ClientEntityEvents extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClientEntityEvents.Loadstatic interfaceClientEntityEvents.Unload -
Field Summary
Fields Modifier and Type Field Description static Event<ClientEntityEvents.Load>ENTITY_LOADCalled when an Entity is loaded into a ClientWorld.static Event<ClientEntityEvents.Unload>ENTITY_UNLOADCalled when an Entity is about to be unloaded from a ClientWorld. -
Constructor Summary
Constructors Constructor Description ClientEntityEvents() -
Method Summary
-
Field Details
-
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
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()
-