Modules§
Structs§
- Data
- NpcData
- Sys
- This system will handle loading generated chunks and unloading unneeded chunks. 1. Inserts newly generated chunks into the TerrainGrid 2. Sends new chunks to nearby clients 3. Handles the chunk’s supplement (e.g. npcs) 4. Removes chunks outside the range of players
Enums§
- Spawn
Entity Data - Convinient structure to use when you need to create new npc from EntityInfo
Constants§
Functions§
- chunk_
in_ vd - convert_
to_ loaded_ vd - prepare_
for_ 🔒vd_ check - Returns: ((player_chunk_pos, player_vd_squared), entity, is_client)
- prepare_
player_ presences