Mouse Tweaks 替换了标准的右键拖拽机制,添加了两种新的左键拖拽机制,并支持通过滚轮快速移动物品。
安装
- 安装兼容的加载器:
- 1.16.5 及更高版本:安装 Minecraft Forge 或 Fabric。
- 1.14.4 及更高版本:安装 Minecraft Forge。
- 1.12.2 及更早版本:安装 Minecraft Forge 或 LiteLoader(或两者都装)。
- 将 Mouse Tweaks 的 jar 文件放入
.minecraft 目录下的 mods 文件夹中。
Mouse Tweaks 纯客户端模组,没有服务端组件。
附加内容
Mouse Tweaks API
配置文件:.minecraft/config/MouseTweaks.cfg
调整项
RMB Tweak(右键调整)
与标准的右键拖拽机制非常相似,但有一个区别:如果你在某个槽位上多次拖拽,物品会被放置多次。如果启用,将替换标准机制。
配置项: RMBTweak=1
按住鼠标右键:
在合成栏周围拖拽鼠标:
你可以将鼠标拖到已有物品上方:
LMB Tweak with Item(左键调整-持有物品时)
让你快速拾取或移动相同类型的物品。
配置项: LMBTweakWithItem=1
按住鼠标左键以拾取物品:
在背包中拖拽鼠标。相同类型的物品将被拾取:
按住 Shift 并拖拽。相同类型的物品将会被“疾速点击”:
LMB Tweak Without Item(左键调整-未持有物品时)
快速将物品移动到另一个背包中。
配置项: LMBTweakWithoutItem=1
按住 Shift,然后按住鼠标左键:
(出于某些原因,鼠标光标不可见)
在背包中拖拽鼠标。物品将会被“疾速点击”:
(出于某些原因,鼠标光标不可见)
Wheel Tweak(滚轮调整)
滚动滚轮以快速在不同背包之间移动物品。当你在物品堆上向下滚动时,其物品会逐个移动。当向上滚动时,物品会从其他背包移入其中。
配置项: WheelTweak=1
配置项: WheelSearchOrder=1
当你向上滚动时,模组将从最后到最先搜索物品(当此设置为 1 时),或者从最先到最后搜索(当此设置为 0 时)。
配置项: WheelScrollDirection=0
将此设置为 1 以反转默认的滚动操作。因此,当设置为 1 时,向下滚动将拉取物品,向上滚动将推送物品。
将此设置为 2 以启用基于背包位置感知的滚动。如果目标背包位于选中槽位的上方,向上滚动会将物品推入该背包;如果位于下方,则从该背包拉取物品。向下滚动则反之。
过时/已移除的设置
这些设置存在于旧版本的 Mouse Tweaks 中,但已被移除。
配置项: OnTickMethodOrder=Forge, LiteLoader
Mouse Tweaks 可以使用多种 API 来实现其所需的 OnTick 方法。你可以使用此设置来控制它首选的 API。这实际上并不重要。如果某种方法不受支持(例如,你没有安装该 API),模组将继续检查下一个。
配置项: ScrollHandling=0
在“平滑滚动,存在小问题”(0)和“不平滑滚动,无问题”(1)之间切换。当设置为平滑滚动时,可能会遇到一些小问题,例如滚动“穿透” JEI 或其他模组。当设置为不平滑滚动时,这些问题不会发生,但滚动体验会略显不平滑。不平滑滚动仅适用于 Forge 的 OnTick 方法。
默认情况下,此选项设置为平滑滚动,因为上述问题的触发条件相当特定且影响不大,而滚动物品是你经常进行的操作,希望体验尽可能好。
兼容性
Mouse Tweaks 兼容所有基于 GuiContainer 的界面(只要行为没有发生太大改变)。
如果你的 GUI 不是基于 GuiContainer,或者你想提高兼容性(例如让 Mouse Tweaks 忽略某些槽位),请查看 API 文档。
整合包
欢迎将 Mouse Tweaks 包含在整合包中。
Mouse Tweaks replaces the standard RMB dragging mechanic, adds two new LMB dragging mechanics and an ability to quickly move items with the scroll wheel.
Installation
- Install a compatible mod loader:
- 1.16.5 and later: install Minecraft Forge or Fabric.
- 1.14.4 and later: install Minecraft Forge.
- 1.12.2 and earlier: install either Minecraft Forge or LiteLoader (or both).
- Put the Mouse Tweaks jar-file into the mods folder in your .minecraft directory.
Mouse Tweaks is purely client-side. There is no server-side component.
Extras
Mouse Tweaks API
Configuration file: .minecraft/config/MouseTweaks.cfg
Tweaks
RMB Tweak
Very similar to the standard RMB dragging mechanic, with one difference: if you drag over a slot multiple times, an item will be put there multiple times. Replaces the standard mechanic if enabled.
Configuration setting: RMBTweak=1
Hold your right mouse button:
Drag your mouse around the crafting grid:
You can drag your mouse on top of existing items:
LMB Tweak (with item)
Lets you quickly pick up or move items of the same type.
Configuration setting: LMBTweakWithItem=1
Hold your left mouse button to pick up an item:
Drag your mouse across the inventory. Items of the same type will be picked up:
Hold shift and drag. Items of the same type will get "shift-clicked":
LMB Tweak (without item)
Quickly move items into another inventory.
Configuration setting: LMBTweakWithoutItem=1
Hold shift, then hold your left mouse button:
(Mouse cursor is not visible for some reason)
Drag your mouse across the inventory. Items will get "shift-clicked":
(Mouse cursor is not visible for some reason)
Wheel Tweak
Scroll to quickly move items between inventories. When you scroll down on an item stack, its items will be moved one by one. When you scroll up, items will be moved into it from another inventory.
Configuration setting: WheelTweak=1
Configuration setting: WheelSearchOrder=1
When you scroll up, the mod will search for items from last to first (when this is set to 1) or from first to last (when this is set to 0).
Configuration setting: WheelScrollDirection=0
Set this to 1 to invert the default scroll actions. So, when set to 1, scrolling down will pull the items and scrolling up will push the items.
Set this to 2 to enable the inventory position aware scrolling. Scrolling up will push the items into the other inventory if it's above the selected slot, or pull items from the other inventory if it's below the selected slot. Vice versa for scrolling down.
Obsolete / Removed Settings
These settings existed in older Mouse Tweaks versions but were removed since.
Configuration setting: OnTickMethodOrder=Forge, LiteLoader
Mouse Tweaks can use multiple APIs for an OnTick method that it requires. You can use this setting to control the API it prefers. This shouldn't really matter at all. If a method isn't supported (for example, you don't have the API installed) the mod will proceed to check the next ones.
Configuration setting: ScrollHandling=0
Toggles between "smooth scrolling, minor issues" (0) and "non-smooth scrolling, no issues" (1). When set to smooth scrolling, minor issues may be experienced such as scrolling "through" JEI or other mods. When set to non-smooth scrolling, those issues will not happen, but the scrolling will be a little non-smooth. Non-smooth scrolling works only with the Forge OnTick method.
This option is set to smooth scrolling by default because the aforementioned issues require rather specific conditions to trigger and aren't very impactful, while scrolling items is something you do all the time and want the experience to be as good as possible.
Compatibility
Mouse Tweaks is compatible with everything based on GuiContainer (as long as the behavior isn't changed too much).
If your GUI isn't based on GuiContainer, or if you want to improve compatibility (making Mouse Tweaks ignore some slot, for example), take a look at the API documentation.
Modpacks
Feel free to include Mouse Tweaks in modpacks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧