Class ServerEntityEvents
java.lang.Object
net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Event<ServerEntityEvents.Load>
Called when an Entity is loaded into a ServerWorld.static final Event<ServerEntityEvents.Unload>
Called when an Entity is unloaded from a ServerWorld. -
Method Summary
-
Field Details
-
ENTITY_LOAD
Called when an Entity is loaded into a ServerWorld.When this event is called, the entity is already in the world.
-
ENTITY_UNLOAD
Called when an Entity is unloaded from a ServerWorld.This event is called before the entity is removed from the world.
-