

TinyInv (FABRIC)
Experimental port of the TinyInv modification for Fabric.
About the Modification
TinyInv allows flexible limitation of the player's inventory size. With this modification, you can reduce the number of available slots on the hotbar, decrease the total number of inventory slots, and completely disable the additional slot in the offhand.
How to Use
Since Fabric lacks a proper synchronized configuration system, slot count settings are managed through game rules: hotbarSize, inventorySize, armorStartID, disableOffhand, countSlotsFromStart, and excludeCreativeModePlayers. Client-side settings remain in the configuration file tininv_fabric_client.json.
Important note: the Fabric version does not allow increasing the number of hotbar slots. When changing game rules using the /gamerule command, all players who were online during the change must reconnect to the world. Otherwise, errors may occur, such as the inability to use certain slots.
Compatibility
The modification replaces "disabled" slots in all containers with "fake" slots that cannot be interacted with. Thanks to this approach, TinyInv is compatible with most modifications (except those that radically alter container functionality). Technically, the player's inventory size remains unchanged, but any items in "disabled" slots are automatically dropped.
By default, the modification hides unused slots. This feature can be disabled in the configuration file via the "fakeSlotOverlay" parameter.