Class ClientBlockEntityEvents
java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Event<ClientBlockEntityEvents.Load> Called when a BlockEntity is loaded into a ClientLevel.static final Event<ClientBlockEntityEvents.Unload> Called when a BlockEntity is about to be unloaded from a ClientLevel. -
Method Summary
-
Field Details
-
BLOCK_ENTITY_LOAD
Called when a BlockEntity is loaded into a ClientLevel.When this event is called, the block entity is already in the level. 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 ClientLevel.When this event is called, the block entity is still present on the level.
-