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,7 @@
{
"variants": {
"": {
"model": "custom_ore_gen:block/deepslateimpuregoldore"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "custom_ore_gen:block/deepslatepuregoldenore"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "custom_ore_gen:block/impuregoldore"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "custom_ore_gen:block/puregoldenore"
}
}
}
@@ -1,5 +1,9 @@
{
"block.custom_ore_gen.sharddiamondblockore": "Sharddiamondblockore",
"block.custom_ore_gen.impuregoldore": "Impure gold ore",
"item.custom_ore_gen.diamondshard": "Diamondshard",
"item.custom_ore_gen.diamondshard.description_0": "Sert a crée un diamant"
"block.custom_ore_gen.deepslateimpuregoldore": "deepslate Impure gold ore",
"block.custom_ore_gen.deepslatepuregoldenore": "Deepslate pure golden ore",
"item.custom_ore_gen.diamondshard.description_0": "Sert a crée un diamant",
"block.custom_ore_gen.puregoldenore": "Pure golden ore"
}
@@ -0,0 +1,8 @@
{
"parent": "block/cube_all",
"textures": {
"all": "custom_ore_gen:block/deepslate_impure_gold_ore",
"particle": "custom_ore_gen:block/deepslate_impure_gold_ore"
},
"render_type": "solid"
}
@@ -0,0 +1,8 @@
{
"parent": "block/cube_all",
"textures": {
"all": "custom_ore_gen:block/deepslate_pure_gold_ore",
"particle": "custom_ore_gen:block/deepslate_pure_gold_ore"
},
"render_type": "solid"
}
@@ -0,0 +1,8 @@
{
"parent": "block/cube_all",
"textures": {
"all": "custom_ore_gen:block/impure_gold_ore",
"particle": "custom_ore_gen:block/impure_gold_ore"
},
"render_type": "solid"
}
@@ -0,0 +1,8 @@
{
"parent": "block/cube_all",
"textures": {
"all": "custom_ore_gen:block/pure_golden_ore",
"particle": "custom_ore_gen:block/pure_golden_ore"
},
"render_type": "solid"
}
@@ -0,0 +1,22 @@
{
"parent": "custom_ore_gen:block/deepslateimpuregoldore",
"display": {
"thirdperson": {
"rotation": [
10,
-45,
170
],
"translation": [
0,
1.5,
-2.75
],
"scale": [
0.375,
0.375,
0.375
]
}
}
}
@@ -0,0 +1,22 @@
{
"parent": "custom_ore_gen:block/deepslatepuregoldenore",
"display": {
"thirdperson": {
"rotation": [
10,
-45,
170
],
"translation": [
0,
1.5,
-2.75
],
"scale": [
0.375,
0.375,
0.375
]
}
}
}
@@ -0,0 +1,22 @@
{
"parent": "custom_ore_gen:block/impuregoldore",
"display": {
"thirdperson": {
"rotation": [
10,
-45,
170
],
"translation": [
0,
1.5,
-2.75
],
"scale": [
0.375,
0.375,
0.375
]
}
}
}
@@ -0,0 +1,22 @@
{
"parent": "custom_ore_gen:block/puregoldenore",
"display": {
"thirdperson": {
"rotation": [
10,
-45,
170
],
"translation": [
0,
1.5,
-2.75
],
"scale": [
0.375,
0.375,
0.375
]
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

@@ -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"
]
}