From 9abd7c3a76d2e2f6a4822892efda3c34f579a60a Mon Sep 17 00:00:00 2001 From: One Nose Date: Thu, 29 Jun 2023 17:08:34 +0300 Subject: [PATCH] feat(loot_tables): add sculk sensor --- .../loot_tables/blocks/sculk_sensor.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 data/minecraft/loot_tables/blocks/sculk_sensor.json diff --git a/data/minecraft/loot_tables/blocks/sculk_sensor.json b/data/minecraft/loot_tables/blocks/sculk_sensor.json new file mode 100644 index 0000000..63a0b25 --- /dev/null +++ b/data/minecraft/loot_tables/blocks/sculk_sensor.json @@ -0,0 +1,42 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Tags: [\"silky_hands\"]}" + } + } + ] + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:sculk_sensor" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file