Skip to content

Config (root)

Ameliorate edited this page Nov 18, 2018 · 6 revisions
Path Explanation Example
dungeons Defines the different dungeons that DungeonMod will generate worlds for and maintain. gist
portals Defines various ways to enter and exit dungeons. gist

Info

Generally, where * is used in the path, it means that it's the name of the dungeon, portal, or other thing.

Full example

dungeons:
  testdungeon:
    type: DecayDungeon
    spawnX: 2
    spawnY: 2
    spawnZ: 2
    exitX: 0
    exitY: 128
    exitZ: 0
    maxX: 100
    maxY: 64
    maxZ: 100
    exitWorld: world
    breakTimeVarianceSeconds: 10
    breakAvgTimeSeconds: 10
  persistantexample:
    type: PersistentDungeon
    spawnX: 5
    spawnY: 2
    spawnZ: 7
    exitX: 0
    exitY: 128
    exitZ: 0
    maxX: 18
    maxY: 9
    maxZ: 9
    exitWorld: world_the_end
    generateBedrockBox: false

portals:
  testdungeon1:
    type: BlockInteract
    entryOrExit: entry
    rightclick: true
    leftclick: false
    cancelEvent: true
    material: LEVER
    x1: 0
    y1: 32
    z1: 0
    x2: 16
    y2: 48
    z2: 16
    world: world
    dungeon: testdungeon
    delaySeconds: 0.2
  testdungeonexit:
    type: BlockInteract
    entryOrExit: exit
    rightclick: true
    leftclick: false
    cancelEvent: true
    material: LEVER
    x1: 0
    y1: 0
    z1: 0
    x2: 16
    y2: 16
    z2: 16
    dungeon: testdungeon
    delaySeconds: 0.2

Clone this wiki locally