InventorySlots
InventorySlots is a lightweight Fabric mod designed for developers and UI configurators. It provides a client-side overlay for inventory slots, making it easier to visualize slot indices and debug layout positioning in real-time.
Features
The mod includes a built-in configuration menu that allows for live adjustments without requiring a game restart.
- Customizable text scale (0.25x to 2.0x) and hex color support.
- Multiple anchor points for precise text alignment (e.g., top-left, center, bottom-right).
- Optional text shadowing for better visibility against different UI textures.
- Persisted configuration settings across game sessions.
- Fully client-side implementation; compatible with all servers.
Keybinds
- Toggle Overlays:
HOME - Open Config Menu:
END
Note: Keybinds can be remapped via the standard Minecraft controls menu if they conflict with other mods.
Requirements
This mod requires Minecraft 1.21.4 or newer and the following dependencies:
- Fabric API
Support
For bug reports or feature requests, please submit an issue through the GitHub repository: https://github.com/BitByLogics/InventorySlots/issues
How to Install Inventory Slots (Mod)
Inventory Slots by BitByLogic is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 26.1.2 (latest release: 2.2.0+26.3, file size: 43 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 26.1.2) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Inventory Slots file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Containers only preset: show numbers for chests, furnaces and other containers while your own inventory stays unnumbered
- Separate switches for container slots, your survival inventory, creative inventory, player rows and hotbar beneath containers, HUD hotbar numbers and widget numbers
- Turn numbers on or off for a whole inventory type, including modded menu types
- Exclude a specific menu title, useful for chest-based server menus
- Settings screen organised into Visibility, Appearance, Inventories and Excluded menus tabs, with a live preview
- Keybinds for each visibility option, the current menu title and the current inventory type; they also work inside open inventories (unbound by default, HOME and END unchanged)
- English and German translations
- Config values are validated, saved safely, and a damaged config is backed up to a .bak file
Also includes the earlier fix for slot numbers not showing in the player inventory and crafting table, and the optional widget numbers.
License: MIT.
- Containers only preset: show numbers for chests, furnaces and other containers while your own inventory stays unnumbered
- Separate switches for container slots, your survival inventory, creative inventory, player rows and hotbar beneath containers, HUD hotbar numbers and widget numbers
- Turn numbers on or off for a whole inventory type, including modded menu types
- Exclude a specific menu title, useful for chest-based server menus
- Settings screen organised into Visibility, Appearance, Inventories and Excluded menus tabs, with a live preview
- Keybinds for each visibility option, the current menu title and the current inventory type; they also work inside open inventories (unbound by default, HOME and END unchanged)
- English and German translations
- Config values are validated, saved safely, and a damaged config is backed up to a .bak file
Also includes the earlier fix for slot numbers not showing in the player inventory and crafting table, and the optional widget numbers.
License: MIT.
- Containers only preset: show numbers for chests, furnaces and other containers while your own inventory stays unnumbered
- Separate switches for container slots, your survival inventory, creative inventory, player rows and hotbar beneath containers, HUD hotbar numbers and widget numbers
- Turn numbers on or off for a whole inventory type, including modded menu types
- Exclude a specific menu title, useful for chest-based server menus
- Settings screen organised into Visibility, Appearance, Inventories and Excluded menus tabs, with a live preview
- Keybinds for each visibility option, the current menu title and the current inventory type; they also work inside open inventories (unbound by default, HOME and END unchanged)
- English and German translations
- Config values are validated, saved safely, and a damaged config is backed up to a .bak file
Also includes the earlier fix for slot numbers not showing in the player inventory and crafting table, and the optional widget numbers.
License: MIT.
- Containers only preset: show numbers for chests, furnaces and other containers while your own inventory stays unnumbered
- Separate switches for container slots, your survival inventory, creative inventory, player rows and hotbar beneath containers, HUD hotbar numbers and widget numbers
- Turn numbers on or off for a whole inventory type, including modded menu types
- Exclude a specific menu title, useful for chest-based server menus
- Settings screen organised into Visibility, Appearance, Inventories and Excluded menus tabs, with a live preview
- Keybinds for each visibility option, the current menu title and the current inventory type; they also work inside open inventories (unbound by default, HOME and END unchanged)
- English and German translations
- Config values are validated, saved safely, and a damaged config is backed up to a .bak file
Also includes the earlier fix for slot numbers not showing in the player inventory and crafting table, and the optional widget numbers.
License: MIT.
Added optional widget numbers for screen buttons and widgets (toggle in the config screen).
Added optional widget numbers for screen buttons and widgets (toggle in the config screen).
Added optional widget numbers for screen buttons and widgets (toggle in the config screen).
Added optional widget numbers for screen buttons and widgets (toggle in the config screen).
- 26.2 Support
- 26.1.2 Support
- Added 1.21.11 Support
- 1.21.10 Support
## ✨ New Features
- Added the ability to **enable rendering of hotbar numbers**.
- Added an option to **render only hotbar numbers**, without affecting other inventories.
## 🛠 Improvements
- Introduced a **new option GUI layout** for easier configuration.
- Fixed **button ON/OFF coloring** for better clarity in the settings menu.
- NOTE**: The hotbar numbers **will** render over items, this is intentional.
## Preview

🎉 **Major Update**: Inventory Slots now fully supports **Minecraft 1.21.8**.
⚠️ **Breaking Changes**: Support for older Minecraft versions has been **dropped**. Make sure your game is updated to 1.21.8 before installing.
📌 **Version**: 2.0.0
- 🛠️ **Small bug fix:** Toggling the mod using the toggle hotkey now correctly saves your enabled/disabled status between sessions.
- This behavior was intended from the start but wasn't working properly until now.
- Bumped version from 1.0.0 -> 1.0.1