From 098bcfc7b6182fe04fbf778d22ce6074af4564ce Mon Sep 17 00:00:00 2001 From: Sergeant Acoustic Date: Sun, 1 Mar 2026 12:04:54 +0000 Subject: [PATCH] Add crumble data --- .../mc_rebalance/enchantment/crumble.json | 49 +++++++++++++++++++ .../enchantment/exclusive_set/capability.json | 1 + .../tags/item/enchantable/hoe.json | 5 ++ 3 files changed, 55 insertions(+) create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/enchantment/crumble.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/item/enchantable/hoe.json diff --git a/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/enchantment/crumble.json b/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/enchantment/crumble.json new file mode 100644 index 0000000..43599b7 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/enchantment/crumble.json @@ -0,0 +1,49 @@ +{ + "anvil_cost": 5, + "description": { + "translate": "enchantment.mc_rebalance.crumble" + }, + "effects": { + "minecraft:attributes": [ + { + "amount": 1024, + "attribute": "generic.attack_speed", + "id": "mc_rebalance:enchantment.windup", + "operation": "add_value" + } + ], + "minecraft:post_attack": [ + { + "affected": "victim", + "enchanted": "attacker", + "effect": { + "type": "mc_rebalance:windup", + "amount": 0.8 + } + }, + { + "affected": "victim", + "enchanted": "attacker", + "effect": { + "type": "mc_rebalance:crumble", + "amount": 1.2 + } + } + ] + }, + "exclusive_set": "#mc_rebalance:exclusive_set/capability", + "max_cost": { + "base": 51, + "per_level_above_first": 10 + }, + "max_level": 1, + "min_cost": { + "base": 1, + "per_level_above_first": 10 + }, + "slots": [ + "mainhand" + ], + "supported_items": "#mc_rebalance:enchantable/hoe", + "weight": 10 +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/enchantment/exclusive_set/capability.json b/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/enchantment/exclusive_set/capability.json index aec881f..7a663fa 100644 --- a/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/enchantment/exclusive_set/capability.json +++ b/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/enchantment/exclusive_set/capability.json @@ -20,6 +20,7 @@ "minecraft:multishot", "minecraft:quick_charge", "minecraft:efficiency", + "mc_rebalance:crumble", "mc_rebalance:trowel", "mc_rebalance:whallop", "mc_rebalance:smack", diff --git a/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/item/enchantable/hoe.json b/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/item/enchantable/hoe.json new file mode 100644 index 0000000..1c2b142 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/mc_rebalance/tags/item/enchantable/hoe.json @@ -0,0 +1,5 @@ +{ + "values": [ + "#minecraft:hoes" + ] +}