From c9cfab8065bd712d380664613f0d04a88127a309 Mon Sep 17 00:00:00 2001 From: Forstride Date: Sat, 12 Jun 2021 11:57:29 -0400 Subject: [PATCH] Added missing Spanish Moss loot tables --- .../loot_tables/blocks/spanish_moss.json | 64 +++++++++++++++++++ .../blocks/spanish_moss_plant.json | 64 +++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss.json create mode 100644 src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss_plant.json diff --git a/src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss.json b/src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss.json new file mode 100644 index 000000000..1c5c31704 --- /dev/null +++ b/src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss.json @@ -0,0 +1,64 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "biomesoplenty:spanish_moss" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.33, + 0.55, + 0.77, + 1.0 + ] + } + ], + "name": "biomesoplenty:spanish_moss" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss_plant.json b/src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss_plant.json new file mode 100644 index 000000000..1c5c31704 --- /dev/null +++ b/src/main/resources/data/biomesoplenty/loot_tables/blocks/spanish_moss_plant.json @@ -0,0 +1,64 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "biomesoplenty:spanish_moss" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.33, + 0.55, + 0.77, + 1.0 + ] + } + ], + "name": "biomesoplenty:spanish_moss" + } + ] + } + ] + } + ] +} \ No newline at end of file