From 13b46f995d59c8c6cc6a1da1fd33402088ac3ed1 Mon Sep 17 00:00:00 2001 From: Sergeant Acoustic Date: Wed, 4 Mar 2026 23:49:08 +0000 Subject: [PATCH] Remove protection enchantment --- .../entity_defense_enhancements.json | 3 ++ .../equipment/trial_chamber.json.patch | 50 +++++++++++++++++++ .../enchantment/exclusive_set/armor.json | 3 ++ .../enchantment/non_treasure.json | 3 ++ .../enchantment/tooltip_order.json | 3 ++ .../mc_rebalance_datapack/pack.mcmeta | 4 ++ 6 files changed, 66 insertions(+) create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/c/utils/inverse-tags/enchantment/entity_defense_enhancements.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/equipment/trial_chamber.json.patch create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/exclusive_set/armor.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/non_treasure.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/tooltip_order.json diff --git a/overrides/global_packs/mc_rebalance_datapack/data/c/utils/inverse-tags/enchantment/entity_defense_enhancements.json b/overrides/global_packs/mc_rebalance_datapack/data/c/utils/inverse-tags/enchantment/entity_defense_enhancements.json new file mode 100644 index 0000000..2f799d8 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/c/utils/inverse-tags/enchantment/entity_defense_enhancements.json @@ -0,0 +1,3 @@ +[ + "minecraft:protection" +] diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/equipment/trial_chamber.json.patch b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/equipment/trial_chamber.json.patch new file mode 100644 index 0000000..00df3bd --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/equipment/trial_chamber.json.patch @@ -0,0 +1,50 @@ +[ + { + "op": "replace", + "path": "/pools/0/entries/0/value/pools/0/entries/0/functions/1/enchantments", + "value": { + "minecraft:fire_protection": 4.0, + "minecraft:projectile_protection": 4.0 + } + }, + { + "op": "replace", + "path": "/pools/0/entries/0/value/pools/1/entries/0/functions/1/enchantments", + "value": { + "minecraft:fire_protection": 4.0, + "minecraft:projectile_protection": 4.0 + } + }, + { + "op": "replace", + "path": "/pools/0/entries/1/value/pools/0/entries/0/functions/1/enchantments", + "value": { + "minecraft:fire_protection": 4.0, + "minecraft:projectile_protection": 4.0 + } + }, + { + "op": "replace", + "path": "/pools/0/entries/1/value/pools/1/entries/0/functions/1/enchantments", + "value": { + "minecraft:fire_protection": 4.0, + "minecraft:projectile_protection": 4.0 + } + }, + { + "op": "replace", + "path": "/pools/0/entries/2/value/pools/0/entries/0/functions/1/enchantments", + "value": { + "minecraft:fire_protection": 4.0, + "minecraft:projectile_protection": 4.0 + } + }, + { + "op": "replace", + "path": "/pools/0/entries/2/value/pools/1/entries/0/functions/1/enchantments", + "value": { + "minecraft:fire_protection": 4.0, + "minecraft:projectile_protection": 4.0 + } + } +] diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/exclusive_set/armor.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/exclusive_set/armor.json new file mode 100644 index 0000000..2f799d8 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/exclusive_set/armor.json @@ -0,0 +1,3 @@ +[ + "minecraft:protection" +] diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/non_treasure.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/non_treasure.json new file mode 100644 index 0000000..2f799d8 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/non_treasure.json @@ -0,0 +1,3 @@ +[ + "minecraft:protection" +] diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/tooltip_order.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/tooltip_order.json new file mode 100644 index 0000000..2f799d8 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/utils/inverse-tags/enchantment/tooltip_order.json @@ -0,0 +1,3 @@ +[ + "minecraft:protection" +] diff --git a/overrides/global_packs/mc_rebalance_datapack/pack.mcmeta b/overrides/global_packs/mc_rebalance_datapack/pack.mcmeta index 89d677a..95f50c7 100644 --- a/overrides/global_packs/mc_rebalance_datapack/pack.mcmeta +++ b/overrides/global_packs/mc_rebalance_datapack/pack.mcmeta @@ -84,6 +84,10 @@ "namespace": "minecraft", "path": "advancement/story/(mine_stone|iron_tools|form_obsidian).json" }, + { + "namespace": "minecraft", + "path": "enchantment/protection.json" + }, { "namespace": "enderitemod", "path": "recipe/enderite_spear.json"