Rajout de tous les minerais, deux outils qui se fabrique avec les Shard

This commit is contained in:
felden.r@grenoble.archi.fr
2025-02-24 16:13:21 +01:00
parent 05e155fcae
commit 55b9df61fe
335 changed files with 13474 additions and 3143 deletions
@@ -0,0 +1,8 @@
{
"type": "forge:add_features",
"biomes": {
"type": "forge:any"
},
"features": "custom_ore_gen:ashcoalore",
"step": "underground_ores"
}
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#custom_ore_gen:tempered_biomes",
"features": "custom_ore_gen:concentratedcoalore",
"step": "underground_ores"
}
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#custom_ore_gen:cold_biomes",
"features": "custom_ore_gen:concentrateddiamondore",
"step": "underground_ores"
}
@@ -1,6 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#minecraft:tag",
"biomes": "#custom_ore_gen:hot_biomes",
"features": "custom_ore_gen:deepslatepuregoldenore",
"step": "underground_ores"
}
@@ -1,6 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#minecraft:tag",
"biomes": "#custom_ore_gen:hot_biomes",
"features": "custom_ore_gen:puregoldenore",
"step": "underground_ores"
}
@@ -0,0 +1,86 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"bonus_rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "custom_ore_gen:ashcoal",
"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:ashcoalore",
"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/ashcoalore"
}
@@ -0,0 +1,82 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:coal",
"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:coal_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/concentratedcoalore"
}
@@ -0,0 +1,82 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:diamond",
"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": "custom_ore_gen:concentrateddiamondore",
"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/concentrateddiamondore"
}
@@ -0,0 +1,85 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:raw_copper",
"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": 2,
"max": 5
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:copper_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/copperhighore"
}
@@ -0,0 +1,70 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:raw_copper",
"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": 2,
"max": 6
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:deepslate_copper_ore",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/copperlowerore"
}
@@ -47,10 +47,15 @@
"formula": "minecraft:ore_drops"
}
]
},
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:deepslate_gold_ore",
"name": "minecraft:gold_ore",
"weight": 1,
"conditions": [
{
@@ -0,0 +1,85 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:redstone",
"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": 4,
"max": 6
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:deepslate_redstone_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/deepslateredstoneore"
}
@@ -0,0 +1,85 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "custom_ore_gen:diamondshard",
"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:deepslatesharddiamondore",
"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": 1
}
}
]
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/deepslatesharddiamondore"
}
@@ -4,7 +4,7 @@
{
"rolls": {
"min": 1,
"max": 3
"max": 2
},
"bonus_rolls": {
"min": 1,
@@ -38,7 +38,7 @@
"function": "set_count",
"count": {
"min": 1,
"max": 3
"max": 2
}
},
{
@@ -0,0 +1,82 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:lapis_lazuli",
"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": 4,
"max": 8
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:lapis_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/lapisore"
}
@@ -0,0 +1,82 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:redstone",
"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": 4,
"max": 5
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:redstone_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/redstoneore"
}
@@ -1,24 +1,82 @@
{
"type": "minecraft:block",
"random_sequence": "custom_ore_gen:blocks/sharddiamondblockore",
"pools": [
{
"rolls": 1.0,
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "custom_ore_gen:diamondshard",
"weight": 1,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"functions": [
{
"count": 2,
"function": "minecraft:set_count"
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "minecraft:explosion_decay"
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "custom_ore_gen:sharddiamondblockore",
"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/sharddiamondblockore"
}
@@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "custom_ore_gen:ashcoal"
},
{
"item": "custom_ore_gen:ashcoal"
},
{
"item": "custom_ore_gen:ashcoal"
},
{
"item": "custom_ore_gen:ashcoal"
}
],
"result": {
"item": "minecraft:coal",
"count": 1
}
}
@@ -0,0 +1,20 @@
{
"replace": false,
"values": [
"snowy_slopes",
"snowy_beach",
"snowy_plains",
"snowy_taiga",
"ice_spikes",
"old_growth_pine_taiga",
"old_growth_spruce_taiga",
"taiga",
"cold_ocean",
"deep_cold_ocean",
"frozen_peaks",
"jagged_peaks",
"stony_peaks",
"dripstone_caves",
"deep_dark"
]
}
@@ -1,15 +1,16 @@
{
"replace": false,
"values": [
"badlands",
"desert",
"savanna",
"savanna_plateau",
"windswept_savanna",
"badlands",
"eroded_badlands",
"wooded_badlands",
"deep_lukewarm_ocean",
"lukewarm_ocean",
"mangrove_swamp",
"warm_ocean",
"bamboo_jungle",
"warm_ocean"
"jungle",
"sparse_jungle"
]
}
@@ -0,0 +1,19 @@
{
"replace": false,
"values": [
"birch_forest",
"dark_forest",
"flower_forest",
"forest",
"old_growth_birch_forest",
"windswept_forest",
"swamp",
"mushroom_fields",
"cherry_grove",
"old_growth_pine_taiga",
"windswept_gravelly_hills",
"deep_ocean",
"ocean",
"lush_caves"
]
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 17,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "forge:stone"
},
"state": {
"Name": "custom_ore_gen:ashcoalore"
}
}
]
}
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 17,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "forge:stone"
},
"state": {
"Name": "custom_ore_gen:concentratedcoalore"
}
}
]
}
}
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"size": 9,
"discard_chance_on_air_exposure": 0,
"targets": [
{
"target": {
"predicate_type": "tag_match",
"tag": "stone_ore_replaceables"
},
"state": {
"Name": "custom_ore_gen:concentrateddiamondore"
}
}
]
}
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:ashcoalore",
"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": 96
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:concentratedcoalore",
"placement": [
{
"type": "minecraft:count",
"count": 10
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:uniform",
"min_inclusive": {
"absolute": 0
},
"max_inclusive": {
"absolute": 70
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -0,0 +1,27 @@
{
"feature": "custom_ore_gen:concentrateddiamondore",
"placement": [
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"min_inclusive": {
"absolute": -70
},
"max_inclusive": {
"absolute": 64
}
}
},
{
"type": "minecraft:biome"
}
]
}
@@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 6
"count": 1
},
{
"type": "minecraft:in_square"
@@ -13,7 +13,7 @@
"height": {
"type": "minecraft:trapezoid",
"min_inclusive": {
"absolute": -64
"absolute": 0
},
"max_inclusive": {
"absolute": 64
@@ -1,6 +1,14 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslateredstoneore",
"custom_ore_gen:redstoneore",
"custom_ore_gen:deepslatelapisore",
"custom_ore_gen:lapisore",
"custom_ore_gen:concentrateddiamondore",
"custom_ore_gen:deepslatesharddiamondore",
"custom_ore_gen:concentratedcoalore",
"custom_ore_gen:ashcoalore",
"custom_ore_gen:deepslateimpuregoldore",
"custom_ore_gen:impuregoldore",
"custom_ore_gen:sharddiamondblockore"
@@ -1,6 +1,10 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslateredstoneore",
"custom_ore_gen:redstoneore",
"custom_ore_gen:concentrateddiamondore",
"custom_ore_gen:deepslatesharddiamondore",
"custom_ore_gen:deepslateimpuregoldore",
"custom_ore_gen:impuregoldore",
"custom_ore_gen:sharddiamondblockore"
@@ -0,0 +1,7 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslatelapisore",
"custom_ore_gen:lapisore"
]
}
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"custom_ore_gen:sharddiamondaxe"
]
}
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"custom_ore_gen:sharddiamondpickaxe"
]
}
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"custom_ore_gen:sharddiamondshovel"
]
}