correction bug gen

This commit is contained in:
felden.r@grenoble.archi.fr
2025-02-26 23:38:04 +01:00
parent c1f7e8813c
commit 5fffeaf809
43 changed files with 148 additions and 200 deletions
@@ -1,22 +1,27 @@
{
"block.custom_ore_gen.lapisore": "Lapis ore",
"block.custom_ore_gen.sharddiamondblockore": "Sharddiamondblockore",
"block.custom_ore_gen.ashcoalore": "Ash coal ore",
"block.custom_ore_gen.concentratedcoalore": "Concentrated coal ore",
"block.custom_ore_gen.ironore": "Iron ore",
"item.custom_ore_gen.diamondshard.description_0": "Sert a crée un diamant",
"block.custom_ore_gen.copperhighore": "Copperhighore",
"block.custom_ore_gen.copperlowerore": "deepslate copper ore",
"block.custom_ore_gen.deepslateredstoneore": "Deepslate redstone ore",
"block.custom_ore_gen.deepslateironore": "Deepslate iron ore",
"item.custom_ore_gen.sharddiamondaxe": "Shard diamond axe",
"block.custom_ore_gen.deepslateimpuregoldore": "deepslate Impure gold ore",
"block.custom_ore_gen.ashcoalore": "Ash coal ore",
"block.custom_ore_gen.impureironore": "Impure iron ore",
"item.custom_ore_gen.ashcoal": "Ash",
"block.custom_ore_gen.impuregoldore": "Impure gold ore",
"block.custom_ore_gen.redstoneore": "Redstone ore",
"block.custom_ore_gen.deepslatelapisore": "Deepslate lapis ore",
"item.custom_ore_gen.sharddiamondpickaxe": "Shard diamond pickaxe",
"item.custom_ore_gen.diamondshard.description_0": "Sert a crée un diamant",
"block.custom_ore_gen.copperhighore": "Copperhighore",
"block.custom_ore_gen.copperlowerore": "deepslate copper ore",
"block.custom_ore_gen.deepslateimpureironore": "Deepslate impure iron ore",
"block.custom_ore_gen.loweremeraldore": "Loweremeraldore",
"block.custom_ore_gen.deepslateredstoneore": "Deepslate redstone ore",
"item.custom_ore_gen.sharddiamondaxe": "Shard diamond axe",
"block.custom_ore_gen.deepslatesharddiamondore": "Deepslatesharddiamondore",
"block.custom_ore_gen.concentrateddiamondore": "Concentrated diamond ore",
"block.custom_ore_gen.deepslateimpuregoldore": "deepslate Impure gold ore",
"item.custom_ore_gen.shardironore": "Shard iron ore",
"item.custom_ore_gen.diamondshard": "Diamondshard",
"block.custom_ore_gen.deepslatepuregoldenore": "Deepslate pure golden ore",
"block.custom_ore_gen.puregoldenore": "Pure golden ore",
@@ -1,85 +1,20 @@
{
"type": "minecraft:block",
"random_sequence": "custom_ore_gen:blocks/copperhighore",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
"rolls": 1.0,
"conditions": [
{
"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"
}
]
"condition": "minecraft:survives_explosion"
}
]
},
{
"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
}
}
]
"name": "custom_ore_gen:copperhighore"
}
]
}
],
"random_sequence": "custom_ore_gen:blocks/copperhighore"
]
}
@@ -1,7 +1,7 @@
{
"type": "minecraft:ore",
"config": {
"size": 16,
"size": 9,
"discard_chance_on_air_exposure": 0,
"targets": [
{
@@ -16,7 +16,7 @@
"absolute": 0
},
"max_inclusive": {
"absolute": 32
"absolute": 24
}
}
},
@@ -1,6 +1,10 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslateironore",
"custom_ore_gen:ironore",
"custom_ore_gen:deepslateimpureironore",
"custom_ore_gen:impureironore",
"custom_ore_gen:loweremeraldore",
"custom_ore_gen:deepslateredstoneore",
"custom_ore_gen:redstoneore",
@@ -1,6 +1,10 @@
{
"replace": false,
"values": [
"custom_ore_gen:deepslateironore",
"custom_ore_gen:ironore",
"custom_ore_gen:deepslateimpureironore",
"custom_ore_gen:impureironore",
"custom_ore_gen:deepslatelapisore",
"custom_ore_gen:lapisore"
]