描述
一个客户端模组,为物品栏界面提供了多种更便捷的操作方式来移动物品。可以通过在物品槽上滚动鼠标滚轮(可选择性地按住某些修饰键)来实现,或者按住修饰键并在槽位上进行左键或右键拖拽。
此外,还包含用于加速村民交易和合成的特殊功能。
支持 Ornithe (1.12.2 [未来将支持更多版本])、LiteLoader (1.12.x)、Rift (1.13.2)、Fabric (1.14+) 和 Forge (1.8 - 1.14.4)。
更多背景信息...
该模组提供了一些可配置的修饰键(具体取决于模组/MC 版本,在现代版本中默认为 Shift、Ctrl 和 Alt),用于一次性移动整个堆叠、所有匹配的物品或全部物品。它还针对村民进行了特殊处理,以简化交易时的繁琐点击操作。从版本 0.11.0 开始,它还具有特殊的合成物品栏处理功能(内置一个 18 格的“配方记忆”)。
基本的物品滚动功能类似于 NEI(以及其他一些模组)所实现的功能。但我希望拥有更多的控制权和更多的物品移动方式,因此我开发了此模组,将所有我认为有用的模式整合在一个独立的客户端模组中(因此它在原版服务器上也同样有效)。
配置选项允许单独启用或禁用大部分功能模式。还可以反转滚动方向,或更改例如“向上滚动”的含义等设置。所有配置均可通过游戏内菜单访问。
注意:所有近期的 Item Scroller 版本(从版本 0.13.0 开始)都需要 malilib 库模组:
按键组合
部分默认热键
I + C- 在现代(Rift, Fabric, LiteLoader, Ornithe)版本中,打开游戏内配置屏幕的默认热键是I + C- 仅
鼠标滚轮滚动:逐个移动悬停槽位的物品进出 Shift + 滚动:逐个移动匹配的完整堆叠。最后移动的是悬停的那个堆叠。Ctrl + 滚动:将所有匹配的堆叠移动到另一个物品栏或从中移出。Alt + 点击:将所有匹配的堆叠移动到另一个物品栏或从中移出。(与Ctrl + 滚动相同。)Ctrl + Shift + 滚动:将所有物品移动到另一个物品栏或从中移出Alt + Shift + 点击:将所有物品移动到另一个物品栏或从中移出。(与Control + Shift + 滚动相同。)Shift + 左键按住并拖拽:移动被拖拽经过的所有堆叠Shift + 右键按住并拖拽:移动被拖拽经过的所有堆叠中除最后一个物品外的所有物品Ctrl + 左键或右键按住并拖拽:仅从被拖拽经过的所有堆叠中移动一个物品。- 在光标有物品时
Shift + 点击空槽位:将所有匹配的物品移动到该物品栏 - 在光标有物品时
Shift + 点击物品栏外部:丢弃整个物品栏中的所有匹配物品 Ctrl + 丢弃键 + 左键或右键按住并拖拽:从所有被拖拽经过的槽位中丢弃一个物品Shift + 丢弃键 + 右键按住并拖拽:从所有被拖拽经过的槽位中丢弃除一个物品外的所有物品Shift + 丢弃键 + 左键按住并拖拽:从所有被拖拽经过的槽位中丢弃所有物品W/S + Shift/Control + 点击(及拖拽):在物品栏中向上(W)或向下(S)移动物品
注意:在版本 0.6.1 之前,Shift + 右键按住并拖拽 功能需要在源物品栏中有一个空槽位用于中间点击动作。
村民 GUI
村民屏幕特殊功能
村民 GUI 具有特殊处理逻辑(如果在配置中启用)。仅当悬停在输出槽时才使用。
按住 Shift 并向下滚动:填充配方/交易输入槽按住 Shift 并向上滚动:像往常一样将输出物品移动到玩家物品栏- 当输出槽为空时:按住
Shift 并向上滚动将输入物品移动到玩家物品栏
因此,你只需按住 Shift 并反复上下滚动即可快速轻松地交易物品。
在 1.12.2 和 1.16.5+ 版本中,你可以右键点击交易按钮以完成该项单一交易。你还可以 中键点击 或 Shift + 中键点击 将交易标记为收藏或“全局收藏”(= 非针对单个村民),这将使这些交易移至列表顶部,并允许你使用热键一次性交易所有收藏项。如果某个村民有任何非全局收藏项,则优先使用这些项,并且不会为该村民使用全局收藏项(直到所有按村民划分的收藏项都被取消标记)。
合成功能
关于合成功能
有一些(快速)合成辅助功能。最值得注意的是 massCraft(批量合成)和 craftEverything(合成所有)热键。
要使这些功能生效,你需要将合成配方存储到 Item Scroller 自己的“配方存储”中。默认情况下,你在物品栏界面内按住 A 即可打开配方视图。通过在按住 A 打开配方视图后,在中键点击合成格上的输出物品来添加配方。你可以通过中键点击空的合成输出槽来清除已存储的配方。
注意,合成系统需要将合成物品栏和槽位添加到配置中,因此默认情况下它仅适用于原版玩家合成和合成台物品栏。
注意,由于 massCraft 功能涉及大量的连续槽位点击,因此它相当卡顿且不可靠。当服务器到客户端的同步发生在槽位点击循环中间时,可能导致客户端出现过期的物品栏状态,这基本上意味着批量合成可能会合成错误的物品(部分配方)。
总的来说,我建议你尽量避免使用 massCraft 功能,除非你绝对需要用到它。如果你确实需要使用,那么你可能更倾向于使用 Andrews 的 “item scroller craft fix” 分支(在此找到),因为它实现了原版配方书的物品转移以进行批量合成。这使得它更加可靠且减少卡顿。在我将整个模组彻底重写之后,我会将这一改进整合进基础模组中……
如果你只需要合成“中等数量”的物品,例如将一组锭状的 nuggets 合成为 ingots 或类似操作,那么你应该使用 craftEverything 热键。它只会执行一次尽可能多的合成,不会重复或循环,因此也不会在该次操作中因外部因素更新背包状态而导致合成错误的物品。不过,对于“扩展型”配方(如原木合成木板),它并不能很好地工作,因为它不会自动丢弃多余物品,所以如果你尝试将一整组原木合成为木板,背包会在中途被填满。
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 features for faster villager trading and crafting.
Available for Ornithe (1.12.2 [and more versions at some point]), LiteLoader (1.12.x), Rift (1.13.2), Fabric (1.14+) and Forge (1.8 - 1.14.4).
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:
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 isI + CMouse wheel scrollalone: Move one item at a time from or to the slot hovered overShift + 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 asCtrl + scroll.)Ctrl + Shift + scroll: Move everything to or from the other inventoryAlt + Shift + click: Move everything to or from the other inventory. (Same asControl + Shift + scroll.)Shift + left click and hold + drag: Move all the stacks that are dragged overShift + right click and hold + drag: Move all but the last item from all the stacks that are dragged overCtrl + left or right click and hold + drag: Move only one item from all the stacks that are dragged over.Shift + clickon an empty slot with items in the cursor: Move all matching items to that inventoryShift + clickoutside the inventory with items in the cursor: Drop all matching items from the entire inventoryCtrl + Drop key + left or right click and hold + drag: Drop one item from all dragged-over slotsShift + Drop key + right click and hold + drag: Drop all but one item from all dragged-over slotsShift + Drop key + left click and hold + drag: Drop all items from all the dragged-over slotsW/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 slotsHold shift and scroll up: Move the output items to the player inventory as usual- When the output slot is empty: hold
Shift and scroll upto 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.
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
下载 Item Scroller
- 修复了各种按键绑定问题
- 修复了配方保存问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧