From cd010adc10b1c1c30c7fe3b71f6f1c0261ef1a0d Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 28 Feb 2021 16:03:26 +0200 Subject: [PATCH] Added a way to obtain feathers from mansions and mineshafts --- .../chests/abandoned_mineshaft.json | 29 ++++++++++++ .../chests/village/village_fletcher.json | 29 ++++++++++++ .../loot_tables/chests/woodland_mansion.json | 44 +++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 src/main/resources/data/unicopiamc/loot_tables/chests/abandoned_mineshaft.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/chests/village/village_fletcher.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/chests/woodland_mansion.json diff --git a/src/main/resources/data/unicopiamc/loot_tables/chests/abandoned_mineshaft.json b/src/main/resources/data/unicopiamc/loot_tables/chests/abandoned_mineshaft.json new file mode 100644 index 00000000..2929b936 --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/chests/abandoned_mineshaft.json @@ -0,0 +1,29 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + } + } + ], + "name": "unicopia:gryphon_feather" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/chests/village/village_fletcher.json b/src/main/resources/data/unicopiamc/loot_tables/chests/village/village_fletcher.json new file mode 100644 index 00000000..108e971b --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/chests/village/village_fletcher.json @@ -0,0 +1,29 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "unicopia:gryphon_feather" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/chests/woodland_mansion.json b/src/main/resources/data/unicopiamc/loot_tables/chests/woodland_mansion.json new file mode 100644 index 00000000..2ea41897 --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/chests/woodland_mansion.json @@ -0,0 +1,44 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 7.0, + "type": "minecraft:uniform" + } + } + ], + "name": "unicopia:gryphon_feather" + }, + { + "type": "minecraft:item", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "unicopia:golden_wing" + } + ] + } + ] +} \ No newline at end of file