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