Skip to main content

Module poi_storage

Module poi_storage 

Source
Expand description

World-level POI storage manager.

Tracks special blocks (beds, workstations, bells, nether portals, etc.) so game systems can efficiently query for nearby points of interest without scanning every block. Organized by chunk column for efficient load/unload and spatial queries.

Structsยง

PointOfInterestStorage
World-level storage for all points of interest.

Enumsยง

OccupationStatus
Filter for POI queries based on ticket availability.

Functionsยง

distance_sq ๐Ÿ”’
max_tickets_for ๐Ÿ”’
resolve_pos ๐Ÿ”’

Type Aliasesยง

PoiColumn ๐Ÿ”’
Column of POI sets indexed by section Y coordinate.