Description
Hold a tool and get a small effect: a sword gives Strength I, a pickaxe gives Haste I, a trident gives Water Breathing.
What it does
- The effect lasts while the tool is in your hand and fades about 1.5 seconds after you put it away. A tool elsewhere in your inventory or in your off hand does nothing.
- Every sword counts, wooden to netherite, and every pickaxe.
- A potion or beacon effect you already have is never cut short or weakened: the tool only tops up the effect it gave itself.
- Axes, shovels, bows and crossbows, and maces can have an effect too; they have none by default.
- Particles are hidden by default.
Commands and settings
/holdpowerturns it on or off for yourself and lists what each tool gives.- Operators:
/holdpowerconfiglists the settings,/holdpowerconfig swordLevel 2changes a level (1 to 5),/holdpowerconfigtext swordEffect speedchanges an effect. Use the game's effect names, like strength, haste, speed, resistance, water_breathing, night_vision, jump_boost or fire_resistance, or none. Saved in the world, and also at the top ofscripts/main.js.
swordEffect, swordLevel, pickaxeEffect, pickaxeLevel, tridentEffect, tridentLevel, axeEffect, axeLevel, shovelEffect, shovelLevel, bowEffect, bowLevel, maceEffect, maceLevel, showParticles, onByDefault.
Tested
Tested on Bedrock Dedicated Server 1.26.63; not yet seen in a real game client.
- 18 checks with a simulated player: Strength I from swords (wooden and diamond), Haste I from a pickaxe, Water Breathing from a trident, nothing from an axe or a sword elsewhere in the inventory, the effect ending within 2 seconds of putting the tool away, a Strength II potion and a long Haste kept, the toggle, and the effect and level settings.
- 54 checks with two real network clients in a world with no experiments and cheats off, shared by Building Wand, Vein Miner for Ores and Hold to Power: commands, operator-only settings, survival payment with a real inventory, limits, unloaded land refused, the menu, settings surviving a restart and /reload, then level.dat read back (cheats off, no experiments, never creative). The client was told it had Strength I while holding a sword and Haste I while holding a pickaxe.
Needs Minecraft 1.21.100 or newer. Stable Script API only, no experiments, so achievements stay on. Licence: MIT. Not affiliated with Mojang or Microsoft.
More free tools: actuallyop.com





