diff --git a/src/main/resources/data/spectrum/loot_tables/blocks/amaranth.json b/src/main/resources/data/spectrum/loot_tables/blocks/amaranth.json index d3e8b8aa6a..61731bf757 100644 --- a/src/main/resources/data/spectrum/loot_tables/blocks/amaranth.json +++ b/src/main/resources/data/spectrum/loot_tables/blocks/amaranth.json @@ -8,6 +8,49 @@ { "type": "minecraft:alternatives", "children": [ + { + "type": "minecraft:item", + "name": "spectrum:amaranth_grains", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:binomial_with_bonus_count", + "parameters": { + "extra": 1, + "probability": 0.5714286 + } + } + ], + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag": "farmersdelight:tools/knives" + } + }, + { + "condition": "minecraft:block_state_property", + "block": "spectrum:amaranth", + "properties": { + "age": "7" + } + }, + { + "condition": "fabric:all_mods_loaded", + "values": [ + "farmersdelight" + ] + } + ] + }, { "type": "minecraft:item", "name": "spectrum:amaranth_bushel", @@ -47,22 +90,35 @@ ] } ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "farmersdelight:straw", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag": "farmersdelight:tools/knives" + } + }, + { + "condition": "fabric:all_mods_loaded", + "values": [ + "farmersdelight" + ] + } + ] + } + ] } ], "functions": [ { "function": "minecraft:explosion_decay" } - ], - "fabric:load_conditions": [ - { - "condition": "fabric:not", - "value": { - "condition": "fabric:all_mods_loaded", - "values": [ - "farmersdelight" - ] - } - } ] -} +} \ No newline at end of file