Switcheroo
Switch your currently held item for an effective item when clicking on a block.
Usage
- Click on a block or entity to switch to the appropriate item
- Press Sneak to prevent the switch from happening
- Press Sprint to use the most effective item
Switcheroo will use the least effective tool that's still effective to break blocks and the most damaging item per seconds to attack entities.

Features
- Switcheroo when clicking blocks
- Switcheroo when clicking mobs
- Uses max damage per seconds for mobs
- Uses max attack damage for players
- Blacklist
- Accessible via
/switcheroo blacklist blocksand/switcheroo blacklist mobs - Compatible with ModMenu
- Accessible via
- Doesn't consider items when they have 5 durability or less
- Prefer Silk Touch on certain blocks
/switcheroo prefer silk_touch/switcheroo prefer silk_touch add dirt_path/switcheroo prefer silk_touch remove dirt_path
- The Silk Touch selection is really shaky, though. Use at your own risk.
- Enable or disable it with
/switcheroo enableand/switcheroo disable
Installation
Downloads are available in Releases. You can also test development builds by downloading them form the Actions.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
|
R
v1.0.17
|
last yr. | 1 | |||
| last yr. | 1 | ||||
|
A
v1.0.16
|
last yr. | 1 | |||
|
A
v1.0.15
|
last yr. | 1 | |||
|
R
v1.0.14
|
last yr. | 1 | |||
|
R
v1.0.13
|
last yr. | 1 | |||
|
R
v1.0.12
|
last yr. | 1 | |||
|
R
v1.0.11
|
last yr. | 1 | |||
|
R
v1.0.10
|
last yr. | 1 | |||
|
R
v1.0.9
|
last yr. | 1 | |||
|
R
v1.0.8
|
last yr. | 1 | |||
|
R
v1.0.7
|
last yr. | 1 | |||
|
R
v1.0.6
|
last yr. | 1 | |||
|
R
v1.0.5
|
last yr. | 1 | |||
|
R
v1.0.4
|
last yr. | 1 | |||
|
R
v1.0.3
|
last yr. | 1 | |||
|
R
v1.0.0
|
last yr. | 1 | |||
|
R
v1.0.2
|
last yr. | 1 | |||
|
R
v1.0.1
|
last yr. | 1 |
### Fixed
- Ranged weapons should no longer be considered during melee attacks.
[1.0.17]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.17
### Fixed
- Prevent the bow from being picked when clicking on a mob
[1.0.15-hotfix.1]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.15-hotfix.1
### Changed
- Updated to Minecraft 1.21.5
[1.0.16]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.16
### Changed
- Updated to Minecraft 1.21.4
[1.0.15]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.15
ℹ️ The Mace has lower damage per seconds than bare hands. The mod will not attempt to switch out of it, but won't switch into it either.
⚠️ The Mace's enchantments are not supported at the moment. It's better to disable Switcheroo during your Mace activities.
### Added
/switcheroo enableand/switcheroo disablecommands
### Changed
- Updated to Minecraft 1.21
[1.0.14]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.14
### Added
- Now uses shears on vines
- Now uses brush on suspicious blocks
[1.0.13]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.13
### Changed
- Updated to Minecraft 1.20.1
### Fixed
- Now uses shears on glow berries
[1.0.12]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.12
- Updated to Minecraft 1.20.0
[1.0.11]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.11
- Updated to Minecraft 1.19.4
[1.0.10]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.10
### Added
- Prefer Silk Touch on certain blocks
/switcheroo prefer silk_touch/switcheroo prefer silk_touch add dirt_path/switcheroo prefer silk_touch remove dirt_path- By default, prefers Silk Touch on
bee_nest,beehive,black_stained_glass,black_stained_glass_pane,blue_ice,
blue_stained_glass, blue_stained_glass_pane, bookshelf, brain_coral, brain_coral_block, brown_mushroom_block,brown_stained_glass, brown_stained_glass_pane, bubble_coral, bubble_coral_block, campfire, crimson_nylium,cyan_stained_glass, cyan_stained_glass_pane, dirt_path, ender_chest, fire_coral, fire_coral_block, glass,glass_pane, gray_stained_glass, gray_stained_glass_pane, green_stained_glass, green_stained_glass_pane, horn_coral,horn_coral_block, ice, infested_chiseled_stone_bricks, infested_cobblestone, infested_cracked_stone_bricks,infested_deepslate, infested_mossy_stone_bricks, infested_stone, infested_stone_bricks, large_amethyst_bud,light_blue_stained_glass, light_blue_stained_glass_pane, light_gray_stained_glass, light_gray_stained_glass_pane,lime_stained_glass, lime_stained_glass_pane, magenta_stained_glass, magenta_stained_glass_pane, medium_amethyst_bud,mushroom_stem, mycelium, orange_stained_glass, orange_stained_glass_pane, packed_ice, pink_stained_glass,pink_stained_glass_pane, purple_stained_glass, purple_stained_glass_pane, red_mushroom_block, red_stained_glass,red_stained_glass_pane, sculk, sculk_catalyst, sculk_sensor, sculk_shrieker, sculk_vein, sea_lantern, small_amethyst_bud,snow, snow_block, soul_campfire, tube_coral, tube_coral_block, turtle_egg, twisting_vines, twisting_vines_plant,warped_nylium, weeping_vines, weeping_vines_plant, white_stained_glass, white_stained_glass_pane, yellow_stained_glassand
yellow_stained_glass_pane.
[1.0.9]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.9
- Updated to Minecraft 1.19
[1.0.8]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.8
- Updated to Minecraft 1.18
[1.0.7]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.7
### Changed
- Now uses swords on bamboo and cobweb.
- Now uses shears on cobweb.
- Uses item with more attack damage on players or more damage per seconds on mobs.
### Fixed
- Dependencies are now correctly resolved in
fabric.mod.json. - Dependencies are mentioned in
README.md.
[1.0.6]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.6

### Added
- Configuration to always use the fast tool instead of the slowest efficient tool.
- Accessible via [ModMenu](https://github.com/TerraformersMC/ModMenu).
/switcheroo alwaysFastest- Configuration for the minimum durability.
- Accessible via [ModMenu](https://github.com/TerraformersMC/ModMenu).
/switcheroo minDurability
### Changed
- Don't consider items when they have 5 durability instead of 1.
### Fixed
- Now takes into account [Efficiency](https://minecraft.fandom.com/wiki/Efficiency) levels.
[1.0.5]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.5
🎃
### Added
- Block and entity blacklist using [ModMenu](https://github.com/TerraformersMC/ModMenu).
- Blacklist blocks
farmlandandglass_paneby default. - Blacklist entity
axolotl,bat,cat,donkey,fox,horse,mule,ocelot,parrot,skeleton_horse,
snow_golem, strider, villager and wandering_trader by default.- Commands to manage the blacklist:
/switcheroo blacklist blocks add farmland/switcheroo blacklist blocks remove farmland/switcheroo blacklist mobs add axolotl/switcheroo blacklist mobs remove axolotl
### Changed
- Prefer shears when clicking on leaves.
- Prefer shears when clicking on plants.
- Ignore axe when clicking on plants.
[1.0.4]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.4
### Added
- Select the tool from the hotbar instead of picking it from the inventory.
### Changed
- The mod's ID is now
switcherooinstead offabric_switcheroo.
[1.0.3]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.3
First public release.
The switcheroo technically works, but it's kinda annoying and awkward to use. Please check the [issues](https://gitlab.com/NatoBoram/fabric-switcheroo/issues) if you want to contribute. Since it's my first Fabric project and my first client-side mod, there's a few things I don't really know how to do.
[1.0.0]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.0
### Changed
- Updated to 1.17.1
[1.0.2]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.2
### Changed
- Now selects the best weapon according to __damage per seconds__.
- Sword is now blacklisted when hitting blocks.
- Now uses hoe when clicking on a crop.
- Farmland is now blacklisted from triggering a switcheroo.
[1.0.1]: https://github.com/NatoBoram/switcheroo/releases/tag/v1.0.1