From f6d16409ecd27ff24b0cc0902ec747ccb1b66883 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Sat, 7 Jun 2025 16:07:19 +0100 Subject: [PATCH] chorus flower loot table --- .../blocks/lunar_chorus_flower.json | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/kubejs/data/tfg/loot_tables/blocks/lunar_chorus_flower.json b/kubejs/data/tfg/loot_tables/blocks/lunar_chorus_flower.json index 4894d7536..eabf049bb 100644 --- a/kubejs/data/tfg/loot_tables/blocks/lunar_chorus_flower.json +++ b/kubejs/data/tfg/loot_tables/blocks/lunar_chorus_flower.json @@ -7,7 +7,38 @@ "entries": [ { "type": "minecraft:item", - "name": "minecraft:chorus_fruit" + "name": "minecraft:chorus_fruit", + "conditions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4, + "type": "minecraft:uniform" + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + }, + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:lunar_chorus_flower", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.1 + } + ] } ], "conditions": [