Module veloren_server::sys::terrain
source · Modules§
Structs§
- 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§
- Convinient structure to use when you need to create new npc from EntityInfo
Constants§
Functions§
- Returns: ((player_chunk_pos, player_vd_squared), entity, is_client)