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,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"
]