Class ServerBlockEntityEvents
java.lang.Object
net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents
public final class ServerBlockEntityEvents extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerBlockEntityEvents.Loadstatic interfaceServerBlockEntityEvents.Unload -
Field Summary
Fields Modifier and Type Field Description static Event<ServerBlockEntityEvents.Load>BLOCK_ENTITY_LOADCalled when an BlockEntity is loaded into a ServerWorld.static Event<ServerBlockEntityEvents.Unload>BLOCK_ENTITY_UNLOADCalled 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.
-