promotional bannermobile promotional banner

Hold to Power | Effects While You Hold a Tool

Hold a sword for Strength I, a pickaxe for Haste I or a trident for Water Breathing. The effect lasts while the tool is in your hand and fades about 1.5 seconds after. A potion or beacon effect you have is never cut short.
render-tools.png

render-tools.png

hero-power.png

hero-power.png

defaults.png

defaults.png

commands.png

commands.png

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

  • /holdpower turns it on or off for yourself and lists what each tool gives.
  • Operators: /holdpowerconfig lists the settings, /holdpowerconfig swordLevel 2 changes a level (1 to 5), /holdpowerconfigtext swordEffect speed changes 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 of scripts/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

Hold to Power | Effects While You Hold a Tool Team

profile avatar
  • 3
    Followers
  • 90
    Projects
  • 7.5K
    Downloads

More from molonlav3View all