Skip to content

"Define" feature to reduce duplications #50

@null2264

Description

@null2264

Potential config format:

{
  "define": {
    "ores": [
      {
        "id": "minecraft:iron_ore",
        "weight": 1.0
      },
      {
        "id": "minecraft:gold_ore",
        "weight": 1.0
      }
    ]
  },
  "cobbleGen": [
    {
      "id": "@ores", // id with the prefix '@' will make the mod try to retrieve defined block list
      "weight": 2.0 // all weight + 2.0 (in this example it's 1.0 + 2.0) 
    }
  ],
  "stoneGen": [
    {
      "id": "@ores",
      "weight": -2.0 // all weight - 2.0 (in this example it's 1.0 - 2.0) 
    }
  ]
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions