From 4ddab5e7be998cc887d7bbc36ee2bd6268a0c6f4 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Sun, 8 Feb 2026 11:54:31 +0000 Subject: [PATCH] fix #2990 --- .../blocks/wood/leaves/crimson.json | 52 +++++++++++++++++++ .../blocks/wood/leaves/warped.json | 52 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 kubejs/data/beneath/loot_tables/blocks/wood/leaves/crimson.json create mode 100644 kubejs/data/beneath/loot_tables/blocks/wood/leaves/warped.json diff --git a/kubejs/data/beneath/loot_tables/blocks/wood/leaves/crimson.json b/kubejs/data/beneath/loot_tables/blocks/wood/leaves/crimson.json new file mode 100644 index 000000000..a2c0090d9 --- /dev/null +++ b/kubejs/data/beneath/loot_tables/blocks/wood/leaves/crimson.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "beneath:wood/leaves/crimson", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag": "forge:shears" + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + }, + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:saplings/crimson", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "condition": "minecraft:random_chance", + "chance": 0.013 + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/data/beneath/loot_tables/blocks/wood/leaves/warped.json b/kubejs/data/beneath/loot_tables/blocks/wood/leaves/warped.json new file mode 100644 index 000000000..cb488c12f --- /dev/null +++ b/kubejs/data/beneath/loot_tables/blocks/wood/leaves/warped.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "beneath:wood/leaves/warped", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag": "forge:shears" + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + }, + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:saplings/warped", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "condition": "minecraft:random_chance", + "chance": 0.013 + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file