Item Scroller

Item Scroller

Mod

A client mod that adds various shortcuts to move items easier in inventory screens

Client ManagementUtility

19.5k downloads
30 followers
Createda year ago
Updated24 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Description

A client-side mod that adds several more convenient ways of moving items inside inventory screens. This is done by scrolling the mouse wheel over item slots (optionally while holding some modifier keys) or by holding down modifier keys and then left- or right-click dragging over the slots.

There are also special feature for villager trading and crafting.

More background and details...

The mod has a few configurable modifier keys (depending on the mod/MC version, in modern versions by default Shift, Ctrl and Alt) to move entire stacks, all matching items, or all items at once. It also has special handling for Villagers to ease the annoying clicking around while trading. As of version 0.11.0, it also has special crafting inventory handling (with a 18-slot internal "recipe memory").

The basic item scrolling feature is similar to what NEI (and some other mods) also did/do. But I wanted more control and more ways to move items, so I made this mod to have all those modes that I find useful, in one distinct, client-side mod (so it also works on vanilla servers all the same).

There are config options to individually enable or disable more or less any of the modes. There are also options to reverse the scroll directions, or to change what for example "scrolling up" means. All the configs are accessible via the in-game config menu.

Note: All recent Item Scroller versions (starting from version 0.13.0) require the malilib library mod:

https://modrinth.com/mod/malilib

Key combinations

Some of the default hotkeys
  • I + C - In the modern (Rift, Fabric, LiteLoader, Ornithe) versions, the default hotkey to open the in-game config screen is I + C
  • Mouse wheel scroll alone: Move one item at a time from or to the slot hovered over
  • Shift + scroll: Move matching, entire stacks one by one. The stack hovered over is moved last.
  • Ctrl + scroll: Move all matching stacks to or from the other inventory.
  • Alt + click: Move all matching stacks to or from the other inventory. (Same as Ctrl + scroll.)
  • Ctrl + Shift + scroll: Move everything to or from the other inventory
  • Alt + Shift + click: Move everything to or from the other inventory. (Same as Control + Shift + scroll.)
  • Shift + left click and hold + drag: Move all the stacks that are dragged over
  • Shift + right click and hold + drag: Move all but the last item from all the stacks that are dragged over
  • Ctrl + left or right click and hold + drag: Move only one item from all the stacks that are dragged over.
  • Shift + click on an empty slot with items in the cursor: Move all matching items to that inventory
  • Shift + click outside the inventory with items in the cursor: Drop all matching items from the entire inventory
  • Ctrl + Drop key + left or right click and hold + drag: Drop one item from all dragged-over slots
  • Shift + Drop key + right click and hold + drag: Drop all but one item from all dragged-over slots
  • Shift + Drop key + left click and hold + drag: Drop all items from all the dragged-over slots
  • W/S + Shift/Control + click (and drag): Move items up (W) or down (S) in the inventory

Note: Before version 0.6.1, the Shift + right click and hold + drag functionality required one empty slot in the source inventory for an intermediate click action.

Villager GUIs

Villager screen special features

Villager GUI has special handling (if enabled in the configs). It is only used when you hover over the output slot.

  • Hold shift and scroll down: Fill the recipe/trade input slots
  • Hold shift and scroll up: Move the output items to the player inventory as usual
  • When the output slot is empty: hold Shift and scroll up to move the input items to the player inventory

So basically you can just hold shift and scroll down/up repeatedly to trade items fast & easy.

In the 1.12.2 and 1.16.5+ versions you can right click the trade buttons to fully trade that one trade. You can also middle click or Shift + middle click to mark trades as favorites or "global favorites" (= not per individual villager), which moves those trades to the top of the list, and it also allows you to use the hotkey to trade all favorites at once. If a given villager has any non-global favorites, then that takes precedence and the global favorites are not used for that villager (until the per-villager favorites are all unmarked).

Crafting features

About the crafting features

There are some (quick) crafting helpers features. Most notably the massCraft and craftEverything hotkeys.

For any of these to work, you need to store a crafting recipe to Item Scroller's own "recipe storage". By default you open the recipe view by holding A inside an inventory screen. You add recipes by holding open the recipe view with A, and then middle clicking on the output item on a crafting grid. You can clear a stored recipe by middle clicking on an empty crafting output slot.

Note that the crafting system needs the crafting inventory and slots to be added to the config, so by default it only works for the vanilla player crafting and crafting table inventories.

Note that the massCraft feature is pretty laggy and unreliable due to the massive amount of continuous slot clicks it does, and when the server to client syncs happen in the middle of the slot click cpam, that can lead to outdated inventory state on the client, which basically means that mass craft can craft the wrong items (partial recipes).

So in general I would recommend avoiding the massCraft feature unless you absolutely need to use it. And if you do, then you would probably want to use Andrews' "item scroller craft fix" fork instead (found here), as it implements the vanilla recipe book item transfer fo mass crafting. That makes it vastly more reliable and less laggy. I will add it to the base mod at some point after I rewrite the entire mod from scratch...

If you only need to craft a "moderate amount" of items, like one inventory of nuggets into ingots or similar, then the craftEverything hotkey is what you want. It crafts everything possible once. It doesn't repeat or loop, so it also shouldn't craft the wrong things as nothing "external" will update the inventory state during that one operation. It doesn't nicely work for "expanding" recipes however, such as logs to planks, because it doesn't throw any items out, so the inventory will fill up midway if you try to craft an entire inventory of logs to planks for example.

External resources



Project members

masa

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID