Hotbar Cycle
A lightweight Fabric client-side mod that lets you cycle inventory rows into your hotbar using a key + scroll
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the client. Works on vanilla servers.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Hotbar Cycle
A Fabric client-side mod that lets you cycle inventory rows into your hotbar using a modifier key + scroll.
Inspired by Shifty Hotbar by Kir-Antipov (abandoned since 2023, last available for 1.20.4) — this is a focused hotbar swap mod for modern versions, not a fork. There are no current plans to implement additional functionality from Shifty Hotbar.

Behavior
Hold Left Alt (rebindable) and scroll while playing (no screen open):
| Input | Action |
|---|---|
| Modifier + scroll up | Rows shift upward — row 1 becomes the hotbar |
| Modifier + scroll down | Rows shift downward — row 3 becomes the hotbar |
The 4 inventory rows (hotbar + 3 rows, 36 slots total) rotate as a wheel. Items stay in their columns — slot 0 always maps to the leftmost column.
Compatibility
Minecraft >=1.21.1 through 1.21.4. Client-only — works on any server
(vanilla or modded) without the server needing this mod.
How it works
The mixin intercepts Mouse.onMouseScroll and sends 27 SWAP packets per
scroll tick (9 columns × 3 row swaps), simulating number-key hotbar swaps.
The server processes them as normal inventory interactions.
Hold Alt + scroll
→ MouseMixin intercepts onMouseScroll
→ 27 clickSlot(SWAP) calls rotate all rows
→ ci.cancel() prevents vanilla slot selection
Project structure
├── build.gradle ← Fabric Loom, dependencies
├── gradle.properties ← MC version, mappings, mod info
├── settings.gradle ← project name
└── src/main/
├── java/com/hotbarcycle/
│ ├── HotbarCycle.java ← ClientModInitializer, key binding
│ └── mixin/
│ ├── KeyBindingAccessor.java ← exposes KeyBinding.boundKey
│ └── MouseMixin.java ← intercepts mouse scroll
└── resources/
├── fabric.mod.json ← mod metadata
├── hotbar-cycle.mixins.json ← mixin configuration
└── assets/hotbar-cycle/
└── lang/en_us.json ← controls menu labels
Build
./gradlew build
Output: build/libs/hotbar-cycle-1.0.0.jar
Contributing
Pull requests for newer Minecraft versions are welcome.
- Branch off
masterasmc-<version>(e.g.,mc-26.2) - Update
minecraft_versionandyarn_mappingsingradle.properties - Fix any compile errors, rebuild with
./gradlew build - Open a PR back to the repo
Licensed under MIT — forks and ports are explicitly allowed.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Sep 29, 2026 2:45 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Sep 29, 2026 2:45 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works