Add reach enchantment

This commit is contained in:
Sergeant Acoustic 2026-03-12 16:43:59 +00:00
parent 6f731d8c26
commit 8a13c9dba7
3 changed files with 37 additions and 1 deletions

View file

@ -8,5 +8,6 @@
"enchantment.mc_rebalance.windup.desc": "Replaces attack cooldown with item cooldown.", "enchantment.mc_rebalance.windup.desc": "Replaces attack cooldown with item cooldown.",
"enchantment.mc_rebalance.smack.desc": "Disables elytra on hit. Reduced windup.", "enchantment.mc_rebalance.smack.desc": "Disables elytra on hit. Reduced windup.",
"enchantment.mc_rebalance.collapse.desc": "Winds up slowly. Hits remove Poison and Wither effects, dealing their damage all at once.", "enchantment.mc_rebalance.collapse.desc": "Winds up slowly. Hits remove Poison and Wither effects, dealing their damage all at once.",
"enchantment.mc_rebalance.crumble.desc": "Winds up, converts one effect on the enemy to Wither." "enchantment.mc_rebalance.crumble.desc": "Winds up, converts one effect on the enemy to Wither.",
"enchantment.mc_rebalance.reach.desc": "Increases block interaction range."
} }

View file

@ -29,6 +29,7 @@
"enchantment.mc_rebalance.trowel": "Trowel", "enchantment.mc_rebalance.trowel": "Trowel",
"enchantment.mc_rebalance.exploit": "Exploit", "enchantment.mc_rebalance.exploit": "Exploit",
"enchantment.mc_rebalance.collapse": "Collapse", "enchantment.mc_rebalance.collapse": "Collapse",
"enchantment.mc_rebalance.reach": "Reach",
"block.mc_rebalance.parched_ghast": "Parched Ghast", "block.mc_rebalance.parched_ghast": "Parched Ghast",
"item.mc_rebalance.parched_ghast": "Parched Ghast" "item.mc_rebalance.parched_ghast": "Parched Ghast"
} }

View file

@ -0,0 +1,34 @@
{
"anvil_cost": 1,
"description": {
"translate": "enchantment.mc_rebalance.reach"
},
"effects": {
"minecraft:attributes": [
{
"amount": {
"type": "minecraft:linear",
"base": 1,
"per_level_above_first": 1.5
},
"attribute": "player.block_interaction_range",
"id": "mc_rebalance:enchantment.reach",
"operation": "add_value"
}
]
},
"max_cost": {
"base": 51,
"per_level_above_first": 10
},
"max_level": 2,
"min_cost": {
"base": 1,
"per_level_above_first": 10
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/mining_loot",
"weight": 10
}