Started by
Rainboe
on
Topic category: Help with Minecraft modding (Java Edition)
Pls I need much help, trying to make iron generate at a lower y level, like 32 or something like that.
Topic category: Help with Minecraft modding (Java Edition)
Pls I need much help, trying to make iron generate at a lower y level, like 32 or something like that.
In your mod's Resources (Gradle) create this path:
data\minecraft\worldgen\configured_feature
in the conigured_feature folder create a file called ore_iron.json, and add the following lines to it. This is mostly for Vanilla ores.
Here you will have the ore count, increase ore decrease it
"type": "minecraft:decorated",
"config": {
"decorator": {
"type": "minecraft:count",
"config": {
"count": 20 <<=== INCREASE OR DECREASE THIS VALUE
These are the min and max height, zero (0) should be bedrock floor, and 127 max height generation (can be modified)
"min_inclusive": {
"above_bottom": 0 <<=== CHANGE THIS 32, MUST BE LESS OR EQUAL TO MAX_INCLUSIVE
},
"max_inclusive": {
"absolute": 127 <<=== MUST BE MORE OR EQUAL TO MIN_INCLUSIVE
*** IF YOU TYPE ANYTHING INCORRECTLY, IT WILL CREATE AN IN-GAME ERROR ***
How exactly do I create that path you mentioned? If it helps I'm on mac.
In MCreator, go to Workspace >> Open Workspace folder, once there travel to the path: src\main\resources and you will see the folder named data. If you don't see it, just create one (all lowercase), then start what I already explained in the previous post.
or
minecraft:decorated appears to be deprecated, do you have an updated way of doing this?