Inventory Control Tweaks

Inventory Control Tweaks

Mod

Tweaks to inventory controls including offhand shift-clicking and dragging out of inventories.

Client Utility

40.1k downloads
165 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Inventory Control Tweaks

Minecraft versions environment: client
loader: Fabric available for: Quilt Loader
Requires: Fabric API supports: Cloth Config supports: Mod Menu supports: Pick Block Pro supports: SSS Translate
license: MIT source on: GitLab issues: GitLab localized: Percentage
Modrinth: Downloads CurseForge: Downloads
chat: Discord coindrop.to me Buy me a coffee


Tweaks to inventory controls including offhand shift-clicking and dragging out of inventories.

Works client-side and in single player.


Current features:

Armor swap

Quickly swap held and worn armor.
Minecraft 1.19.4 added this feature to vanilla; Inventory Control Tweaks simply adds configurability on this and later versions.

Using armor swap to change from diamond armor to netherite armor. Using armor swap to swap from a chest plate to an elytra after jumping from a high place. Using armor swap to equip a golden helmet just in time to avoid being attacked by a piglin.

Pick block tweaks

Fill held stack and never change slot.

Picking block on a flower that's already in hand, other flowers in inventory fill the stack that's held. Picking block on a flower with an empty hand, a flower in another slot in the inventory moves to the hand.

Drag item tweaks

Drag single, matching, or all stacks across or out of inventories.

Dragging a gold axe back and forth between the player inventory and a chest, other golden axes move back and forth too.
Dragging rotten flesh out of inventory to throw it into fire.

Dragging rotten flesh out of inventory, all rotten flesh is thrown with it into fire. Dragging a golden axes out of inventory, all golden exes are thrown out with it: ignoring components is enabled.

Offhand tweaks

Shift click to move food or other items to or just to fill the offhand.

Shift clicking on steak moves it in and out of the offhand, shift clicking on rotten flesh just moves it to the hotbar (vanilla behavior): steak is food, rotten flesh is food but had negative effects. Shift clicking on firework rockets and a totem of undying moves them in and out of the offhand: they are configured to be offhand-preferred.


Configuration

Supports Cloth Config and Mod Menu for configuration, but neither is required.

Options will use their default values if Cloth Config is absent.

If Cloth Config is present, options can be configured either through Mod Menu or by editing config/inventory_control_tweaks.json in your instance folder (.minecraft/ by default for the vanilla launcher).

Key binds:

  • Drag matching out of inventory modifier; default: left ctrl
  • Drag all out of inventory modifier; default: <unbound>
  • Click to swap armor modifier; default: right shift
  • Drag all stacks across modifier; default: left alt

Options:

General
  • Enable armor swapping; default: true

    Right click while holding a piece of armor to swap it with the piece you're currently wearing.

  • Equip/swap non-armor wearables; default: false

    Enables right click to equip/swap non-armor items that can be equipped to armor slots, such as mob skulls.

  • Armor swap blacklist:; default: <none>

    Using items in this list won't swap them with your current armor.

  • Pick block fills stack; default: true

    If you pick-block while you already have the picked block selected, the stack in your hand will be refilled from your inventory.

  • Pick block never changes slot; default: true

    When you pick-block, your selected hotbar slot won't change.
    Instead, the picked block will always be moved to that slot.

    If Pick Block Pro is installed, this feature has no effect.
    Use PBP's "Stay in same hotbar slot" under "Inventory instead".

Drag item tweaks
  • Drag matching stacks across inventories; default: true

    With an external inventory open (chest, dropper, etc. ), click, hold, and drag a stack between it and your inventory to move all matching stacks.

  • Choose bottom row stacks first; default: true

    When you use 'Drag matching stacks across inventories', stacks will be moved from the bottom of inventories first.

  • Move hotbar stacks; default: true

    When you use 'Drag matching stacks across inventories', stacks in your hotbar will be included.

  • Deposit cursor stack; default: ON_RELEASE_AT_EMPTY

    When you use 'Drag matching stacks across inventories', the stack you were dragging will be deposited.

  • Drag single stack out of inventory; default: true

    With an inventory open, click, hold, and drag a stack outside the inventory to throw the stack.

  • Drag matching stacks out of inventory; default: WITH_KEY

    With an inventory open, click, hold, and drag a stack outside the inventory to throw it and all matching stacks.
    Optionally requires a key to be held which can be configured in Minecraft's controls interface.

  • When comparing stacks, ignore components; default: false

    Components stores things like enchantments, damage, and map data.

Offhand tweaks
  • Shift-click to partial offhand stack; default: true

    If a partial stack of items is in your offhand, shift-clicking another stack of the same type of items will add those items to your offhand.

  • Shift-click any food to offhand; default: true

    Shift-clicking any food in your inventory while your offhand is empty will move that food to your offhand.

  • Don't shift-click food with negative effects to offhand; default: true

    Excludes food with negative effects from shift-clicking to your offhand.

  • List of items that shift-click to offhand:; default: minecraft:shield, minecraft:firework_rocket, minecraft:totem_of_undying

    Shift-clicking items in this list while your offhand is empty will move those items to your offhand.


Mod compatibility
  • Pick Block Pro:
    ICT versions 1.3.27 and up integrate with Pick Block Pro 1.7.20 and up.
    "Pick block never changes slot" is superseded by PBP's "Stay in same hotbar slot" under "Inventory"; use it instead if PBP is installed.
    ICT's "Pick block fills stack" feature will function normally.
    Earlier versions of PBP disable ICT's pick block features, but other features function normally.

  • Item Scroller:
    Partially incompatible; ICT's shift-click features won't work.
    There won't be a crash, and other features of both mods will still function.
    This may be dependent on Item Scroller settings.


Translations

localized: Percentage supports: SSS Translate
Install SSS Translate to automatically download new translations.
You can help translate Inventory Control Tweaks on Crowdin.


This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however, so anyone else is free to port it.

I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.


Project members

supersaiyansubtlety

Owner

Details

Licensed MIT
Published 3 years ago
Updated 2 months ago