Class EntityTrackingEvents
java.lang.Object
net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents
Events related to a tracking entities within a player's view distance.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionAn event that is called before player starts tracking an entity.An event that is called after a player has stopped tracking an entity. -
Method Summary
-
Field Details
-
START_TRACKING
An event that is called before player starts tracking an entity. Typically this occurs when an entity enters a client's view distance. This event is called before the player's client is sent the entity'sspawn packet
. -
STOP_TRACKING
An event that is called after a player has stopped tracking an entity. The client at this point was sent a packet todestroy
the entity on the client. The entity still exists on the server.
-