Skip to main content

Module tracker

Module tracker 

Source
Expand description

Entity tracking system for managing which players can see which entities.

Keeps the vanilla visibility predicate in block space. Vanilla stores an entity tracking range as client chunks, multiplies it by 16, caps it by the player’s view distance, and then checks horizontal squared distance.

StructsΒ§

EntityChangeSenders
Packet sinks used by EntityTracker::send_changes.
EntitySpawnPairing πŸ”’
EntityTracker
World-level entity tracker.
EntityTrackingRange πŸ”’
TrackedEntity πŸ”’
Tracking data for a single entity.

ConstantsΒ§

BLOCKS_PER_CHUNK πŸ”’

FunctionsΒ§

add_passenger_tracking_ranges πŸ”’
direct_player_passenger_delta πŸ”’
effective_tracking_range πŸ”’
is_within_tracking_distance πŸ”’
leash_holder_id πŸ”’