Class ServerBlockEntityEvents
java.lang.Object
net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Event<ServerBlockEntityEvents.Load>
Called when an BlockEntity is loaded into a ServerWorld.static final Event<ServerBlockEntityEvents.Unload>
Called when an BlockEntity is about to be unloaded from a ServerWorld. -
Method Summary
-
Field Details
-
BLOCK_ENTITY_LOAD
Called when an BlockEntity is loaded into a ServerWorld.When this is event is called, the block entity is already in the world.
-
BLOCK_ENTITY_UNLOAD
Called when an BlockEntity is about to be unloaded from a ServerWorld.When this event is called, the block entity is still present on the world.
-