Dungeon Room Config
Dungeon Room Config
Persistable configuration for a set of dungeon rooms and their associated spawn point.
字段
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rooms | List<Ref<DungeonRoomEntry>> | empty | List of rooms included in this configuration | ||||||||||||||||||||||||||||
spawnPoint | WorldLocation | — | Spawn point for this configuration
|
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
world | String | — | — |
x | Int | 0 | — |
y | Int | 0 | — |
z | Int | 0 | — |
yaw | Float | 0 | — |
pitch | Float | 0 | — |
How to use it
Groups the rooms of a dungeon and holds its spawn point. Stand where players should arrive and use the spawnPoint content editor: it captures your world, block coordinates and view direction. When a Dungeon Instance lists several configurations, one is chosen at random for each run.
Players always arrive in the world of the run: only the coordinates and the direction of spawnPoint are used, shifted into the slot of the run in SHARED_WORLD_SLOTS mode. A generated dungeon has no room config: its spawn is the SPAWN marker of the start room.