public final class ServerBlockEntityEvents extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServerBlockEntityEvents.Load |
static interface |
ServerBlockEntityEvents.Unload |
Modifier and Type | Field and Description |
---|---|
static Event<ServerBlockEntityEvents.Load> |
BLOCK_ENTITY_LOAD
Called when an BlockEntity is loaded into a ServerWorld.
|
static Event<ServerBlockEntityEvents.Unload> |
BLOCK_ENTITY_UNLOAD
Called when an BlockEntity is about to be unloaded from a ServerWorld.
|
public static final Event<ServerBlockEntityEvents.Load> BLOCK_ENTITY_LOAD
When this is event is called, the block entity is already in the world.
public static final Event<ServerBlockEntityEvents.Unload> BLOCK_ENTITY_UNLOAD
When this event is called, the block entity is still present on the world.