From e997a0a3a6fdf63e1dca213ec9b9a88312d86b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 24 May 2019 12:14:15 +0200 Subject: [PATCH] MC-003B --- .../minecraft/loot_tables}/empty.json | 0 .../loot_tables/entities/shulker.json | 37 +++++++++++++++++++ dodsorfas_custom_loot/shulker.json | 1 - 3 files changed, 37 insertions(+), 1 deletion(-) rename dodsorfas_custom_loot/{ => data/minecraft/loot_tables}/empty.json (100%) create mode 100644 dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json delete mode 100644 dodsorfas_custom_loot/shulker.json diff --git a/dodsorfas_custom_loot/empty.json b/dodsorfas_custom_loot/data/minecraft/loot_tables/empty.json similarity index 100% rename from dodsorfas_custom_loot/empty.json rename to dodsorfas_custom_loot/data/minecraft/loot_tables/empty.json diff --git a/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json b/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json new file mode 100644 index 0000000..a46b454 --- /dev/null +++ b/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json @@ -0,0 +1,37 @@ +{ + "pools": [ + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance_with_looting", + "chance": 0.5, + "looting_multiplier": 0.0625 + } + ], + "entries": [ + { + "type": "item", + "weight": 1, + "name": "minecraft:shulker_shell" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "weight": 1, + "name": "minecraft:shulker_shell", + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/dodsorfas_custom_loot/shulker.json b/dodsorfas_custom_loot/shulker.json deleted file mode 100644 index 8b13789..0000000 --- a/dodsorfas_custom_loot/shulker.json +++ /dev/null @@ -1 +0,0 @@ -