diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json index d4eaacb4..135abad4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json index 1231b34a..d41e3586 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json index 1231b34a..d41e3586 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json index d4eaacb4..135abad4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass.json index b4294034..fe240928 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json index d4eaacb4..135abad4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json index d4eaacb4..135abad4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json index d4eaacb4..135abad4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json @@ -4,6 +4,24 @@ { "rolls": 1, "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], "entries": [ { "type": "minecraft:item",