A small API for mods to dynamically modify inventory slots. Allows changing the position, disabling/enabling slots and adds tooltips for empty slots.
How to use
Casting a "Slot" to the "SlotCustomization" interface gives access to all relevant methods.
How to Install Slot Customization API (Mod)
Slot Customization API by TheRedBrain is verified for Fabric across Minecraft versions 1.20.1, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 26.1, 26.1.1 (latest release: 4.1.0, file size: 42 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 26.1, 26.1.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Slot Customization API file into your Minecraft
.minecraft/modsfolder and launch the game.
## Additions
- equipment slots in the creative inventory can now show their "empty slot tooltip"
- fixed compatibility with 26.1.x versions
- updated to Minecraft 26.1
- updated to Minecraft 1.21.11
- migrated to MojangMappings
- added dependency on Fzzy Config
- added client config option to disable empty slot tooltips
- updated to 1.21.10
- added API for empty slot tooltips
- updated to 1.21.1