From 1a316ab9fcc72da38732467d6587c6b1c08d4940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 24 May 2019 12:08:06 +0200 Subject: [PATCH 1/3] prepare --- dodsorfas_custom_loot/empty.json | 1 + dodsorfas_custom_loot/pack.mcmeta | 6 ++++++ dodsorfas_custom_loot/shulker.json | 1 + 3 files changed, 8 insertions(+) create mode 100644 dodsorfas_custom_loot/empty.json create mode 100644 dodsorfas_custom_loot/pack.mcmeta create mode 100644 dodsorfas_custom_loot/shulker.json diff --git a/dodsorfas_custom_loot/empty.json b/dodsorfas_custom_loot/empty.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/dodsorfas_custom_loot/empty.json @@ -0,0 +1 @@ +{} diff --git a/dodsorfas_custom_loot/pack.mcmeta b/dodsorfas_custom_loot/pack.mcmeta new file mode 100644 index 0000000..edf9d7c --- /dev/null +++ b/dodsorfas_custom_loot/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 1, + "description": "Dodsorfas Data Pack for custom loot" + } +} diff --git a/dodsorfas_custom_loot/shulker.json b/dodsorfas_custom_loot/shulker.json new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/dodsorfas_custom_loot/shulker.json @@ -0,0 +1 @@ + -- 2.44.2 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 2/3] 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 @@ - -- 2.44.2 From 2730638b5e300e144dbb7ea089f02d628f65b50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 24 May 2019 12:20:02 +0200 Subject: [PATCH 3/3] oops --- .../data/minecraft/loot_tables/entities/shulker.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json b/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json index a46b454..e9bf1ea 100644 --- a/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json +++ b/dodsorfas_custom_loot/data/minecraft/loot_tables/entities/shulker.json @@ -27,7 +27,7 @@ "functions": [ { "function": "set_count", - "count": 2 + "count": 1 } ] } -- 2.44.2