Class ClientBlockEntityEvents
java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Event<ClientBlockEntityEvents.Load>
Called when a BlockEntity is loaded into a ClientWorld.static final Event<ClientBlockEntityEvents.Unload>
Called when a BlockEntity is about to be unloaded from a ClientWorld. -
Method Summary
-
Field Details
-
BLOCK_ENTITY_LOAD
Called when a BlockEntity is loaded into a ClientWorld.When this event is called, the block entity is already in the world. However, its data might not be loaded yet, so don't rely on it.
-
BLOCK_ENTITY_UNLOAD
Called when a BlockEntity is about to be unloaded from a ClientWorld.When this event is called, the block entity is still present on the world.
-