From 4b73c48cd2a265b903cd3baf250701cf907f8dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Mon, 24 Feb 2020 08:28:30 +0000 Subject: [PATCH] Add voodo's bat membrane datapack --- .../minecraft/loot_tables/entities/bat.json | 43 +++++++++++++++++++ datapacks/Bat_Membranes_1.0/pack.mcmeta | 6 +++ 2 files changed, 49 insertions(+) create mode 100644 datapacks/Bat_Membranes_1.0/data/minecraft/loot_tables/entities/bat.json create mode 100644 datapacks/Bat_Membranes_1.0/pack.mcmeta diff --git a/datapacks/Bat_Membranes_1.0/data/minecraft/loot_tables/entities/bat.json b/datapacks/Bat_Membranes_1.0/data/minecraft/loot_tables/entities/bat.json new file mode 100644 index 0000000..1da9087 --- /dev/null +++ b/datapacks/Bat_Membranes_1.0/data/minecraft/loot_tables/entities/bat.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + }, + { + "function": "minecraft:set_name", + "name": { + "text": "Bat Membrane", + "italic": "false" + } + } + ], + "name": "minecraft:phantom_membrane" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/Bat_Membranes_1.0/pack.mcmeta b/datapacks/Bat_Membranes_1.0/pack.mcmeta new file mode 100644 index 0000000..882988a --- /dev/null +++ b/datapacks/Bat_Membranes_1.0/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 3, + "description": "Bats drop membranes, they also have wings you know." + } +} \ No newline at end of file