Skyblock Builder

Skyblock Builder

10M Downloads

Make references in config optional

MelanX opened this issue ยท 0 comments

commented

Describe your idea

At the moment, you're forced to reference spawns, spreads or surroundingBlocks when configuring an island. That could look like this:

{
  "spawn": {
    "name": "Spawn",
    "file": "spawn.nbt",
    "spawns": "spawn",
    "surroundingBlocks": "spawn",
    "surroundingMargin": 1
  },
  "spawns": {
    "spawn": {
      "north": [],
      "east": [],
      "south": [
        [ 14, 8, 4 ]
      ],
      "west": []
    }
  },
  "surroundingBlocks": {
    "spawn": [
      "minecraft:bedrock"
    ]
  }
}

A better solution was to make this optional. You can use it to de-duplicate entries, for example when setting up multiple templates with same spawns. For the Spawn island, you often need extra spawn config. These entries are not used by any other template. Here, it would be better to directly set this, like here:

{
  "spawn": {
    "name": "Spawn",
    "file": "spawn.nbt",
    "spawns": {
      "north": [],
      "east": [],
      "south": [
        [ 14, 8, 4 ]
      ],
      "west": []
    },
    "surroundingBlocks": [
      "minecraft:bedrock"
    ],
    "surroundingMargin": 1
  }
}