Dokko's Hotbar Optimizer
Dokko's Hotbar Optimizer is a client-side mod designed to refine how Minecraft handles hotbar slot changes.
Disclaimer
This mod may be detected as a cheat by some anti-cheats.
Please ask if this mod is allowed before using it on a server.
Disallowed on PvPClub, Stray and FlowPvP
Probably banned on most servers
This mod breaks the Minecraft protocol, this mod has been banned from most servers. The owner and I therefore decided to make this project unmaintained, in particular because of the first problem
With all this, I do not recommend using this mod (except on private servers)
This mod is also a cheat on <50ms latency
What does the mod do?
In vanilla Minecraft, when you switch hotbar slots, your client waits up to 50ms (one game tick) before telling the server. This mod removes that delay and sends the update instantly.
This fundamental change brings noticeable improvements to several key areas of gameplay:
-
Ghost Totem Reduction: Totems are more reliable because the server knows you’re holding one sooner, reducing the amount of time in which you can "ghost".
- Low ping (20ms): Reduces the chance of ghost totems by ~71%
- High Ping (150ms): Still helps, ~25% better
-
Attribute Swapping Improvement: Quick swaps for things like axe combos or breach tech feel smoother and hit more reliably.
- Low ping: Server sees your swap ~71% faster
- High ping: ~25% faster
Basically, it makes hotbar actions more responsive and consistent—great for PvP, crystal fights, and clutch totem saves.
How do I turn it on / off?
You can enable / disable the mod with ModMenu's settings screen.
Mod settings (v1.2.2)

- Hotbar Sync: the state of the mod.
- Items To Sync: the items that the mod will run on.
- Debug Mode: thats for developers, don't use it.
- Logging: also for developers.
- Allow Multiple Switches / Tick: if enabled some servers might flag more.
- Mod Status Display: when you join a server that bans the mod it will tell you.
All Versions
+ Add Version- New features implemented for versions 1.21-1.21.4
- Bug fixed [#4 I'm using Minecraft version 1.21.4 but minecraft won't run when I use your mod version 1.1.1 and I have to use 1.0.0 to run minecraft. Can you fix it bro?](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/4)
- Backport to 1.20.5-1.20.6 [#7 PLEASE MAKE IT 1.20.6 ](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/7)
- New features implemented for versions 1.21-1.21.4
- Bug fixed [#4 I'm using Minecraft version 1.21.4 but minecraft won't run when I use your mod version 1.1.1 and I have to use 1.0.0 to run minecraft. Can you fix it bro?](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/4)
- Backport to 1.20.5-1.20.6 [#7 PLEASE MAKE IT 1.20.6 ](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/7)
- New features implemented for versions 1.21-1.21.4
- Bug fixed [#4 I'm using Minecraft version 1.21.4 but minecraft won't run when I use your mod version 1.1.1 and I have to use 1.0.0 to run minecraft. Can you fix it bro?](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/4)
- Backport to 1.20.5-1.20.6 [#7 PLEASE MAKE IT 1.20.6 ](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/7)
- New features implemented for versions 1.21-1.21.4
- Bug fixed [#4 I'm using Minecraft version 1.21.4 but minecraft won't run when I use your mod version 1.1.1 and I have to use 1.0.0 to run minecraft. Can you fix it bro?](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/4)
- Backport to 1.20.5-1.20.6 [#7 PLEASE MAKE IT 1.20.6 ](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/7)
- New features implemented for versions 1.21-1.21.4
- Bug fixed [#4 I'm using Minecraft version 1.21.4 but minecraft won't run when I use your mod version 1.1.1 and I have to use 1.0.0 to run minecraft. Can you fix it bro?](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/4)
- Backport to 1.20.5-1.20.6 [#7 PLEASE MAKE IT 1.20.6 ](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/7)
- New features implemented for versions 1.21-1.21.4
- Bug fixed [#4 I'm using Minecraft version 1.21.4 but minecraft won't run when I use your mod version 1.1.1 and I have to use 1.0.0 to run minecraft. Can you fix it bro?](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/4)
- Backport to 1.20.5-1.20.6 [#7 PLEASE MAKE IT 1.20.6 ](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues/7)
- Added an opt-out packet to let servers know you are using the mod
- Changed the mod's icon
- Fixed a bug where "mod disabled" messages would be sent on every world in a server
- Fixed some buttons in the configuration screen randomly disappearing
- Added more variants of Spanish, French and English
- Added Andalúz to the languages
- Made the mod disable switching multiple times in a tick if disabled
- Added spanish and french languages
- Removed fabric API from the mod's dependencies
- Added quilt support
- Updated to 1.21.5+
- Fixed crashes on 1.21.5-1.21.8
- Removed an unnecessary mixin
- Added debug mode
- Removed Cloth Config API, reducing file size.
- Replaced TotemSync with Items To Sync, now the user can select which items the mod will run on.
- Fixed a bug where empty slots would not be synced even if the user wanted them to.
- Replaced config file from JSON5 to JSON
- Removed /hotbar-optimizer command
- Added a config screen
- Added TotemSync: if enabled, it will only sync slots with a totem
### Warning!
This version has only been tested on 1.21 - if you find any issues on 1.21 or any other version, please report them on the [Issue Tracker](https://github.com/dokko-games/Dokkos-Hotbar-Optimizer/issues)