The Best Resource for Minecraft
The Best Resource for Minecraft

Inventory Tweaks Mod Wiki

Inventory Tweaks is a client-side Minecraft mod designed to streamline inventory and chest management through automatic sorting, tool replacement, and item replenishment features.

4 sections · 629 words

Overview#

Inventory Tweaks is a highly functional client-side mod for Minecraft that significantly enhances inventory and chest management. It provides a suite of tools for automatically organizing items, replacing broken tools, and replenishing depleted item stacks in the hotbar. The mod operates out-of-the-box, offering immediate benefits in both single-player and multi-player environments by saving players a considerable amount of time spent on manual inventory organization.

Unlike many other mods, Inventory Tweaks does not introduce new mobs, items, blocks, biomes, dimensions, or crafting recipes. Its sole focus is on improving the user interface and mechanics related to existing inventory systems within Minecraft, making item management more efficient and less cumbersome.

Features#

The core functionality of Inventory Tweaks revolves around automating common inventory tasks:

  • Automatic Sorting: Players can sort their inventory and chests with a single click or keystroke. The mod can sort items alphabetically, by type, or arrange them into columns or rows.
  • Tool Replacement: When a tool breaks during use, Inventory Tweaks automatically searches the player's inventory for a replacement of the same type, prioritizing tools made from the same material.
  • Item Replenishment: As an item stack in the hotbar is depleted (through placing, using, or tossing), the mod automatically replenishes it with a new stack of the same item from the player's inventory.
  • Powerful Shortcuts: The mod provides various shortcuts to facilitate quick movement and organization of items within inventories.
  • Customization: Inventory Tweaks offers extensive customization options, allowing players to define their own sorting rules and preferences through configuration files and an in-game options interface.

Mechanics and Controls#

Inventory Tweaks integrates seamlessly into the game's existing interface with intuitive controls:

  • Sorting Trigger: The primary method for sorting the player's inventory is by pressing the 'R' key (default) or by clicking the middle mouse button while any inventory is open and the cursor is not hovering over an item.
  • Chest Sorting Buttons: Most chest interfaces will display small buttons in the top right corner, providing quick access to sorting and stacking functions.
  • Advanced Sorting: For chests, players can choose between alphabetical sorting, sorting by object type, or arranging items into columns or rows. An ellipses button in the interface allows access to advanced sorting rule configurations.
  • Crafting Input Balancing: When the middle click shortcut is used while targeting a crafting input slot, it intelligently adjusts item amounts to balance them, optimizing the input for recipes (e.g., evenly splitting wood for crafting sticks).
  • Tool and Item Logic: The mod's automatic tool replacement prioritizes matching crafting materials. For item replenishment, it identifies items by their ID to ensure the correct stack is moved to the hotbar.

Configuration#

Inventory Tweaks is highly configurable, allowing players to tailor its behavior to their specific needs:

  • Configuration Files: The mod's sorting behavior can be extensively customized through clever configuration files.
  • Options Interface: A comprehensive in-game options interface is available, typically accessed via a '...' menu within the inventory, where players can modify settings, including changing the default sorting shortcut.
  • Item Tree Tweaking: The mod uses an 'item tree' where keywords are stored for creating custom sorting rules. This allows for advanced definitions:
    • Categories: Players can define custom categories for items, such as <myCategory> <dirt id="dirt" /> <cake id="cake" /> </myCategory>.
    • Item Identification: Items can be defined not only by their IDs but also by specific damage values for more precise sorting.
    • Forge Ore Dictionary: Categories can also be defined using Forge ore Dictionary Names, allowing for broader compatibility with other mods.
    • Extra Data: For items with special properties like potions or named items, extra data checks can be specified to differentiate variants.
  • Custom Textures: Players can override the default button textures used by the mod by adding a custom assets/inventorytweaks/textures/gui/button10px.png file to their resource pack.