From 029557214b45c5125b5f06c6bbfa4442d7eccbff Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 23 Aug 2021 15:38:26 +0200 Subject: [PATCH] Update loot tables for 1.17 --- .../loot_tables/blocks/course_dirt.json | 1 + .../blocks/deepslate_diamond_ore.json | 31 +++++++++++++++++++ .../loot_tables/blocks/diamond_ore.json | 11 ++++--- .../unicopiamc/loot_tables/blocks/dirt.json | 1 + .../loot_tables/blocks/grass_block.json | 1 + .../loot_tables/blocks/mycelium.json | 1 + .../unicopiamc/loot_tables/blocks/podzol.json | 1 + 7 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json index 5132660e..d4eaacb4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json @@ -3,6 +3,7 @@ "pools": [ { "rolls": 1, + "bonus_rolls": 0, "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json new file mode 100644 index 00000000..1231b34a --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/deepslate_diamond_ore.json @@ -0,0 +1,31 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.25 + } + ], + "functions": [ + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "unicopia:crystal_shard" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json index e45f6c64..1231b34a 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/diamond_ore.json @@ -2,19 +2,22 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1.0, + "rolls": 1, + "bonus_rolls": 0, "entries": [ { "type": "minecraft:item", "conditions": [ - { "condition": "minecraft:random_chance", "chance": 0.25 } + { + "condition": "minecraft:random_chance", + "chance": 0.25 + } ], "functions": [ { "function": "minecraft:apply_bonus", "enchantment": "minecraft:fortune", - "formula": "minecraft:uniform_bonus_count", - "parameters": { "bonusMultiplier": 3 } + "formula": "minecraft:ore_drops" }, { "function": "minecraft:explosion_decay" diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json index 5132660e..d4eaacb4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json @@ -3,6 +3,7 @@ "pools": [ { "rolls": 1, + "bonus_rolls": 0, "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json index 5132660e..d4eaacb4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json @@ -3,6 +3,7 @@ "pools": [ { "rolls": 1, + "bonus_rolls": 0, "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json index 5132660e..d4eaacb4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json @@ -3,6 +3,7 @@ "pools": [ { "rolls": 1, + "bonus_rolls": 0, "entries": [ { "type": "minecraft:item", diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json index 5132660e..d4eaacb4 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json @@ -3,6 +3,7 @@ "pools": [ { "rolls": 1, + "bonus_rolls": 0, "entries": [ { "type": "minecraft:item",