Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Define" feature to reduce duplications #50

Open
Tracked by #60
null2264 opened this issue Nov 8, 2023 · 0 comments · May be fixed by #60
Open
Tracked by #60

"Define" feature to reduce duplications #50

null2264 opened this issue Nov 8, 2023 · 0 comments · May be fixed by #60
Assignees
Labels
enhancement New feature or request

Comments

@null2264
Copy link
Owner

null2264 commented Nov 8, 2023

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 // overwrite all weight to 2.0
    }
  ],
  "stoneGen": [
    {
      "id": "@ores"
    }
  ]
}
@null2264 null2264 added the enhancement New feature or request label Nov 8, 2023
@null2264 null2264 self-assigned this Nov 8, 2023
@null2264 null2264 mentioned this issue Nov 30, 2023
4 tasks
@null2264 null2264 linked a pull request Feb 25, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant