From 2d7eca4d5b62ddb98e3fa091c014c1b8561f6d73 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 8 Feb 2024 14:38:59 +0000 Subject: [PATCH] Zap leaves now drop zaplings --- .../blocks/flowering_zap_leaves.json | 19 +++++++++++++++++++ .../loot_tables/blocks/zap_leaves.json | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/flowering_zap_leaves.json b/src/main/resources/data/unicopia/loot_tables/blocks/flowering_zap_leaves.json index 6e55a32c..2676a033 100644 --- a/src/main/resources/data/unicopia/loot_tables/blocks/flowering_zap_leaves.json +++ b/src/main/resources/data/unicopia/loot_tables/blocks/flowering_zap_leaves.json @@ -38,6 +38,25 @@ } ], "name": "unicopia:flowering_zap_leaves" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "chances": [ + 0.05, + 0.0625, + 0.083333336, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "name": "unicopia:zapling" } ] } diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/zap_leaves.json b/src/main/resources/data/unicopia/loot_tables/blocks/zap_leaves.json index 48082b36..e511233e 100644 --- a/src/main/resources/data/unicopia/loot_tables/blocks/zap_leaves.json +++ b/src/main/resources/data/unicopia/loot_tables/blocks/zap_leaves.json @@ -38,6 +38,25 @@ } ], "name": "unicopia:zap_leaves" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "chances": [ + 0.05, + 0.0625, + 0.083333336, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "name": "unicopia:zapling" } ] }