From f238d440a6f2cc8720c01b156cde33872f3f34a6 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Fri, 6 Sep 2024 13:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E9=93=B8=E5=8F=B0=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=88=98=E5=88=A9=E5=93=81=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../loot_modifiers/global_loot_modifiers.json | 1 - .../tags/blocks/mineable/pickaxe.json | 3 ++- .../loot_modifiers/rare_chest_10.json | 10 --------- .../loot_tables/blocks/reforging_table.json | 21 +++++++++++++++++++ 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 src/main/resources/data/superbwarfare/loot_modifiers/rare_chest_10.json create mode 100644 src/main/resources/data/superbwarfare/loot_tables/blocks/reforging_table.json diff --git a/src/main/resources/data/forge/loot_modifiers/global_loot_modifiers.json b/src/main/resources/data/forge/loot_modifiers/global_loot_modifiers.json index 94dfbafca..81d790dce 100644 --- a/src/main/resources/data/forge/loot_modifiers/global_loot_modifiers.json +++ b/src/main/resources/data/forge/loot_modifiers/global_loot_modifiers.json @@ -15,7 +15,6 @@ "superbwarfare:rare_chest_7", "superbwarfare:rare_chest_8", "superbwarfare:rare_chest_9", - "superbwarfare:rare_chest_10", "superbwarfare:epic_chest", "superbwarfare:epic_chest_2", "superbwarfare:epic_chest_3", diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json index ebf6d8a35..04679a37c 100644 --- a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json +++ b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json @@ -5,6 +5,7 @@ "superbwarfare:deepslate_galena_ore", "superbwarfare:scheelite_ore", "superbwarfare:deepslate_scheelite_ore", - "superbwarfare:dragon_teeth" + "superbwarfare:dragon_teeth", + "superbwarfare:reforging_table" ] } \ No newline at end of file diff --git a/src/main/resources/data/superbwarfare/loot_modifiers/rare_chest_10.json b/src/main/resources/data/superbwarfare/loot_modifiers/rare_chest_10.json deleted file mode 100644 index dff565a92..000000000 --- a/src/main/resources/data/superbwarfare/loot_modifiers/rare_chest_10.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "type": "superbwarfare:superbwarfare_loot_modifier", - "conditions": [ - { - "condition": "forge:loot_table_id", - "loot_table_id": "minecraft:chests/jungle_temple_dispenser" - } - ], - "lootTable": "superbwarfare:chests/blue_print_rare" -} \ No newline at end of file diff --git a/src/main/resources/data/superbwarfare/loot_tables/blocks/reforging_table.json b/src/main/resources/data/superbwarfare/loot_tables/blocks/reforging_table.json new file mode 100644 index 000000000..ca51d8711 --- /dev/null +++ b/src/main/resources/data/superbwarfare/loot_tables/blocks/reforging_table.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "superbwarfare:reforging_table" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "superbwarfare:blocks/reforging_table" +} \ No newline at end of file