Class ClientBlockEntityEvents
java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents
@Environment(CLIENT) public final class ClientBlockEntityEvents extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClientBlockEntityEvents.Load
static interface
ClientBlockEntityEvents.Unload
-
Field Summary
Fields Modifier and Type Field Description static Event<ClientBlockEntityEvents.Load>
BLOCK_ENTITY_LOAD
Called when a BlockEntity is loaded into a ClientWorld.static Event<ClientBlockEntityEvents.Unload>
BLOCK_ENTITY_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.
-
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.
-