Modify iron ore generation

This commit is contained in:
Sergeant Acoustic 2025-08-29 20:40:05 +01:00
parent ad1c021f0e
commit 207769cd8b
6 changed files with 110 additions and 2 deletions

View file

@ -0,0 +1,27 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.2,
"size": 7,
"targets": [
{
"state": {
"Name": "minecraft:iron_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "minecraft:deepslate_iron_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}

View file

@ -0,0 +1,27 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 4,
"targets": [
{
"state": {
"Name": "minecraft:iron_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "minecraft:deepslate_iron_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}

View file

@ -0,0 +1,27 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 1.0,
"size": 9,
"targets": [
{
"state": {
"Name": "minecraft:iron_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "minecraft:deepslate_iron_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}

View file

@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 12
"count": 10
},
{
"type": "minecraft:in_square"

View file

@ -13,7 +13,7 @@
"height": {
"type": "minecraft:uniform",
"max_inclusive": {
"absolute": 72
"absolute": 62
},
"min_inclusive": {
"above_bottom": 10

View file

@ -0,0 +1,27 @@
{
"feature": "minecraft:ore_iron_upper",
"placement": [
{
"type": "minecraft:count",
"count": 90
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 384
},
"min_inclusive": {
"absolute": 80
}
}
},
{
"type": "minecraft:biome"
}
]
}