Rajout des differents type d'or ainsi que la creation d'un biome tag

This commit is contained in:
felden.r@grenoble.archi.fr
2025-02-24 09:59:11 +01:00
parent 6780fc8f78
commit 05e155fcae
232 changed files with 5611 additions and 1479 deletions
@@ -0,0 +1,8 @@
{
"type": "forge:add_features",
"biomes": {
"type": "forge:any"
},
"features": "custom_ore_gen:deepslateimpuregoldore",
"step": "underground_ores"
}
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#minecraft:tag",
"features": "custom_ore_gen:deepslatepuregoldenore",
"step": "underground_ores"
}
@@ -0,0 +1,8 @@
{
"type": "forge:add_features",
"biomes": {
"type": "forge:any"
},
"features": "custom_ore_gen:impuregoldore",
"step": "underground_ores"
}
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#minecraft:tag",
"features": "custom_ore_gen:puregoldenore",
"step": "underground_ores"
}
@@ -0,0 +1,89 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 3
},
"bonus_rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:gold_nugget",
"weight": 1,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "custom_ore_gen:deepslateimpuregoldore",
"weight": 1,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/deepslateimpuregoldore"
}
@@ -0,0 +1,84 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"bonus_rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:raw_gold",
"weight": 1,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:deepslate_gold_ore",
"weight": 1,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/deepslatepuregoldenore"
}
@@ -0,0 +1,89 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 3
},
"bonus_rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:gold_nugget",
"weight": 1,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "custom_ore_gen:impuregoldore",
"weight": 1,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/impuregoldore"
}
@@ -0,0 +1,89 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"bonus_rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:raw_gold",
"weight": 1,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:gold_ore",
"weight": 1,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/puregoldenore"
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 9,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "forge:stone"
},
"state": {
"Name": "custom_ore_gen:deepslateimpuregoldore"
}
}
]
}
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 9,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "forge:stone"
},
"state": {
"Name": "custom_ore_gen:deepslatepuregoldenore"
}
}
]
}
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 16,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "forge:stone"
},
"state": {
"Name": "custom_ore_gen:impuregoldore"
}
}
]
}
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 9,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "forge:stone"
},
"state": {
"Name": "custom_ore_gen:puregoldenore"
}
}
]
}
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:deepslateimpuregoldore",
"placement": [
{
"type": "minecraft:count",
"count": 10
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:uniform",
"min_inclusive": {
"absolute": -64
},
"max_inclusive": {
"absolute": 0
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:deepslatepuregoldenore",
"placement": [
{
"type": "minecraft:count",
"count": 10
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"min_inclusive": {
"absolute": -64
},
"max_inclusive": {
"absolute": 0
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:impuregoldore",
"placement": [
{
"type": "minecraft:count",
"count": 10
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"min_inclusive": {
"absolute": 0
},
"max_inclusive": {
"absolute": 32
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:puregoldenore",
"placement": [
{
"type": "minecraft:count",
"count": 10
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"min_inclusive": {
"absolute": 0
},
"max_inclusive": {
"absolute": 48
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -0,0 +1,4 @@
{
"replace": false,
"values": []
}
@@ -0,0 +1,4 @@
{
"replace": false,
"values": []
}
@@ -1,6 +1,8 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslateimpuregoldore",
"custom_ore_gen:impuregoldore",
"custom_ore_gen:sharddiamondblockore"
]
}
@@ -1,6 +1,8 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslateimpuregoldore",
"custom_ore_gen:impuregoldore",
"custom_ore_gen:sharddiamondblockore"
]
}
@@ -0,0 +1,15 @@
{
"replace": false,
"values": [
"badlands",
"desert",
"savanna",
"savanna_plateau",
"windswept_savanna",
"eroded_badlands",
"wooded_badlands",
"mangrove_swamp",
"bamboo_jungle",
"warm_ocean"
]
}