-
Notifications
You must be signed in to change notification settings - Fork 72
5.2 Room File Structure
Ted Senft edited this page Jul 9, 2023
·
1 revision
Memory Graph Structure:
flowchart
RoomReg(RoomRegistrationNode)
RoomChunk(RoomChunkNode)
RoomOwner(RoomOwnerNode)
RoomSpawn(RoomSpawnNode)
RoomReg -- RoomChunkEdge --> RoomChunk
RoomReg -- RoomOwnerEdge --> RoomOwner
RoomReg -- RoomSpawnEdge --> RoomSpawn
erDiagram
RoomRegistrationNode||--|{RoomChunkNode : RoomChunkEdge
RoomRegistrationNode||--||RoomOwnerNode : RoomOwnerEdge
RoomRegistrationNode||--|{RoomSpawnNode : RoomSpawnEdge
-
rooms: ListTag
- node_id: UUID
- name: string
- center: Vec3
- dimensions: Vec3i
- default_machine_color: int
-
spawns: CompoundTag
- <room_code>: CompoundTag
- default_spawn: CompoundTag
- node_id: UUID
- spawn_position: Vec3
- spawn_rotation: Vec2
- player_spawns: List
- node_id: UUID
- player_id: UUID
- spawn_position: Vec3
- spawn_rotation: Vec2
- default_spawn: CompoundTag
- <room_code>: CompoundTag