@Environment(value=CLIENT) public final class ClientBlockEntityEvents extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClientBlockEntityEvents.Load |
static interface |
ClientBlockEntityEvents.Unload |
Modifier and Type | Field and 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.
|
public static final Event<ClientBlockEntityEvents.Load> BLOCK_ENTITY_LOAD
When this event is called, the block entity is already in the world.
public static final Event<ClientBlockEntityEvents.Unload> BLOCK_ENTITY_UNLOAD
When this event is called, the block entity is still present on the world.