diff --git a/kubejs/data/minecraft/loot_tables/blocks/andesite.json b/kubejs/data/minecraft/loot_tables/blocks/andesite.json index a66f1e6..a995a27 100644 --- a/kubejs/data/minecraft/loot_tables/blocks/andesite.json +++ b/kubejs/data/minecraft/loot_tables/blocks/andesite.json @@ -5,13 +5,37 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:andesite" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:andesite" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_andesite" + } + ] } ] } diff --git a/kubejs/data/minecraft/loot_tables/blocks/diorite.json b/kubejs/data/minecraft/loot_tables/blocks/diorite.json index 4de3d4a..1d82875 100644 --- a/kubejs/data/minecraft/loot_tables/blocks/diorite.json +++ b/kubejs/data/minecraft/loot_tables/blocks/diorite.json @@ -5,13 +5,37 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:diorite" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:diorite" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_diorite" + } + ] } ] } diff --git a/kubejs/data/minecraft/loot_tables/blocks/end_stone.json b/kubejs/data/minecraft/loot_tables/blocks/end_stone.json new file mode 100644 index 0000000..ddae520 --- /dev/null +++ b/kubejs/data/minecraft/loot_tables/blocks/end_stone.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:end_stone" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_end_stone" + } + ] + } + ] + } + ] +} diff --git a/kubejs/data/minecraft/loot_tables/blocks/granite.json b/kubejs/data/minecraft/loot_tables/blocks/granite.json index 2683529..5d33d04 100644 --- a/kubejs/data/minecraft/loot_tables/blocks/granite.json +++ b/kubejs/data/minecraft/loot_tables/blocks/granite.json @@ -5,13 +5,37 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:granite" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:granite" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_granite" + } + ] } ] } diff --git a/kubejs/data/minecraft/loot_tables/blocks/netherrack.json b/kubejs/data/minecraft/loot_tables/blocks/netherrack.json index cdafb2e..17b13f8 100644 --- a/kubejs/data/minecraft/loot_tables/blocks/netherrack.json +++ b/kubejs/data/minecraft/loot_tables/blocks/netherrack.json @@ -5,13 +5,37 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:netherrack" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:netherrack" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_netherrack" + } + ] } ] } diff --git a/kubejs/data/minecraft/loot_tables/blocks/red_sandstone.json b/kubejs/data/minecraft/loot_tables/blocks/red_sandstone.json index 17b4f6a..38dcda4 100644 --- a/kubejs/data/minecraft/loot_tables/blocks/red_sandstone.json +++ b/kubejs/data/minecraft/loot_tables/blocks/red_sandstone.json @@ -5,13 +5,37 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:red_sandstone" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:red_sandstone" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_red_sandstone" + } + ] } ] } diff --git a/kubejs/data/minecraft/loot_tables/blocks/sandstone.json b/kubejs/data/minecraft/loot_tables/blocks/sandstone.json index 8578c9a..bc83581 100644 --- a/kubejs/data/minecraft/loot_tables/blocks/sandstone.json +++ b/kubejs/data/minecraft/loot_tables/blocks/sandstone.json @@ -5,13 +5,37 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:sandstone" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:sandstone" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "name": "natural-progression:cobbled_sandstone" + } + ] } ] } diff --git a/kubejs/data/minecraft/loot_tables/blocks/spawner.json b/kubejs/data/minecraft/loot_tables/blocks/spawner.json deleted file mode 100644 index e69de29..0000000