ModsFinder

Inventory Slots

by BitByLogic

Inventory Slots shows the index of each container slot as a client-side text overlay, which helps when debugging or laying out a UI on Fabric.

FabricClient-side onlyMIT LicenseOpen source1.21.4 – 26.2

What it does

Inventory Slots draws a slot index over each slot in a container screen, so a developer or configurator can match a number to a position without counting. Overlays can be toggled on and off, and an options menu opens from the mod's config screen. The text can be scaled from 0.25x to 2.0x and colored with hex values, with optional shadowing for readability against different UI textures.

Each label can be placed at one of several anchor points, from top-left through center to bottom-right, which gives precise text alignment. Settings are saved between game sessions, and positions can be adjusted while the game is running to see the effect at once. Only the client needs the mod, and it is compatible with servers, so players can join a server that does not run it.

The mod is published for Fabric only, with files for 1.21.4 – 26.2 across nine release versions. The latest file is 2.0.5 for 26.2. It depends on Fabric API and is released under the MIT License, so the code is open source.

Key features

  1. Slot index overlay

    A number is drawn over each container slot so the index of any slot can be read directly from the screen.

  2. Adjustable text

    Label size runs from 0.25x to 2.0x, and the color can be set with a hex value to suit the screen.

  3. Anchor point alignment

    Labels can be aligned to top-left, center, bottom-right and other anchor points for exact placement.

  4. Live toggle and config menu

    Overlays can be switched on or off during play, and a config menu holds the remaining options.

Compatibility

Latest build for each game version and loader.

26.x2 of 2 versions with builds
26.22.0.5
26.1.22.0.4
1.21.x7 of 7 versions with builds
1.21.112.0.3
1.21.102.0.2
1.21.82.0.1
1.21.71.0.1
1.21.61.0.1
1.21.51.0.1
1.21.41.0.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Mod developers and UI configurators who need to see slot indices while building or adjusting inventory screens. Players who only want to play normally have no need for it.

How it compares

Full comparison

Lwib is a Fabric client-side mod for 1.21.10 – 26.2, open source under the GNU General Public License v3.0 or later. Better Health is a Fabric client-side mod for 1.21.11 – 26.1.2 under the MIT License, so it covers a different version span. Slot Lock is also a Fabric client-side mod under the MIT License, for 1.21.11 – 26.1. Inventory Slots shares that environment and license, but the version range differs from each of them.

ModLoadersGame versionsEnvironmentUpdated
Inventory SlotsFabric1.21.4 – 26.2Client-side only2026-06-27
LwibFabric1.21.10 – 26.2Client-side only2026-08-25
Better HealthFabric1.21.11 – 26.1.2Client-side only2026-05-18
Slot LockFabric1.21.11 – 26.1Client-side only2026-03-31

Questions

Does Inventory Slots need Fabric API?

Yes. Fabric API is a dependency and must be installed alongside the mod on Fabric.

Does the server need Inventory Slots?

No. Players add it to their own game, and a server needs no copy.

Which game versions have files?

Files exist for 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.10, 1.21.11, 26.1.2 and 26.2, with 2.0.5 for 26.2 as the latest.

In the catalog

Inventory Slots is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,894 mods support Minecraft 26.2.

Similar mods

What the author says

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.
BitByLogic, on the Modrinth page

Official listing

Owner
BitByLogic
Published
2025-07-28
Updated on Modrinth
2026-06-27
Facts verified
2026-10-15

Tags