

关于
我一直很喜欢《半条命》、《R.E.P.O.》、《Dead Rails》和《A Dusty Trip》等游戏中拾取并移动物体的机制。
我想将类似的体验带入 Minecraft,因此制作了 Drag Things。
使用此模组,你可以抓取掉落的物品,移动它们,投掷它们,并以不同的方式与世界互动。它还添加了一些额外功能,使这些交互更加实用。



主要功能
- 交互式拖拽: 按住 右键 抓取掉落的物品或方块,然后通过转动视角来拖动它们。
- 投掷: 快速晃动鼠标并松开 右键 即可投掷物品。投掷力度取决于你的移动速度。
- 重量系统: 不同物品具有不同的重量。铁砧等重物移动较慢,而较轻的物品更容易操控。物品重量可通过 Cloth Config 进行自定义调整。
- 多重拖拽: 最多可将 8 个物品 链接在一起并作为一个整体移动。
- 放置方块: 将可放置的方块拖动到表面上,然后松开即可将其直接放入世界中。
自动化仪式与方块功能
- 存储: 将物品放置在存储方块(如箱子或木桶)附近,即可自动存入其中。
- 合成: 将工作台带到附近的物品旁,即可自动合成。(目前仅支持无形状配方。)
- 附魔: 将附魔台放置在紫水晶块、可附魔物品和经验球附近。附魔台会收集附近的经验并为物品附魔。界面中会显示已存储的经验值。
- 锻造: 将锻造台靠近所需的模板、基础物品和附加材料,即可自动执行锻造操作。
- 砂轮: 修复两个相同的物品,或在返还经验的同时移除单个附魔物品的附魔效果。
工具与武器交互
支持 时运 (Fortune) 和 精准采集 (Silk Touch)。



- 拾取与移动: 注视一个掉落的物品,然后按住 右键 将其抓起。移动视角即可拖动它。
- 投掷: 快速晃动视角并松开 右键 即可投掷该物品。移动速度越快,投掷距离越远。
- 链接物品(多重拖拽): 在拖动物品时,注视另一个物品并按下 G 键 (默认按键绑定,可在控制设置中更改) 将它们链接在一起。最多可以链接 3 个物品。
- 放置方块: 将可放置的方块拖动到实心表面上,然后松开 右键 即可放置。
如果你不确定某些功能如何使用,请查看 画廊 部分中的视频。
注意: 部分视频可能略显过时,未必包含最新的功能。



为了让 Drag Things 流畅运行,请确保你已安装以下模组:
- Fabric API:核心依赖项。没有它,模组将无法启动。
- Cloth Config API:用于加载和保存自定义配置(如物品重量)。
- Mod Menu:(强烈推荐) 允许你在游戏内直接打开配置界面,以重新绑定按键和调整设置。
你完全可以借助其他工具来进一步提升视觉效果:
- Smooth Glowing Resource Pack:增强 Minecraft 默认的发光轮廓效果,使拖拽或锁定的物品看起来更加干净利落。
- Item Physic Lite:(强烈推荐)为掉落的物品添加逼真的 3D 物理效果,让拖拽体验更具沉浸感。



已知问题
- OptiFine 兼容性: 使用 OptiFine (OptiFabric) 时,在拖拽物品过程中可能会出现渲染故障或画面不同步的问题。为了获得最佳兼容性,建议使用 Sodium 和 Iris 代替。
- 网络延迟: 在高延迟的多人服务器中,由于网络延迟,拖拽的物品可能会出现卡顿现象。
- 模组兼容性: 大幅改变物品物理效果或背包行为的模组可能与 Drag Things 无法正常工作。
发现了这里未列出的 Bug?欢迎前往我的 GitHub 页面 提交 Issue。

致谢
本项目包含从 Visuality(作者:PinkGoosik)复制并改编的代码与资源,遵循 MIT 许可证使用。
详情请参阅 LICENSE-THIRD_PARTY.md。


ABOUT
I've always liked how games like Half-Life, R.E.P.O, Dead Rails, and A Dusty Trip let you pick up and move objects around.
I wanted to bring something similar to Minecraft, so I made Drag Things.
With this mod, you can grab dropped items, move them around, throw them, and interact with the world in a different way. It also adds a few extra features to make these interactions more useful.



Main Features
- Interactive Dragging: Hold Right Click to grab dropped items or blocks, then move them by looking around.
- Throwing: Flick your mouse and release Right Click to throw an item. The throwing force depends on your movement.
- Weight System: Different items have different weights. Heavy objects like anvils move more slowly, while lighter items are easier to handle. Item weights can be customized through Cloth Config.
- Multi-Drag: Chain up to 8 items together and move them as a group.
- Block Placement: Drag a placeable block onto a surface, then release to place it directly into the world.
Automated Rituals & Block Functions
- Storage: Drop items near storage blocks (such as Chests or Barrels) to deposit them automatically.
- Crafting: Bring a Crafting Table near nearby items to craft automatically. (Currently supports shapeless recipes only.)
- Enchanting: Place an Enchanting Table near Lapis Lazuli, an enchantable item, and XP orbs. The table collects nearby XP and enchants the item. A HUD displays the stored XP.
- Smithing: Bring a Smithing Table near the required template, base item, and addition item to perform smithing automatically.
- Grindstone: Repair two matching items, or remove enchantments from a single enchanted item while returning experience.
Tool & Weapon Interactions
-
Weapon Damage: Swing Swords, Axes, or Tridents by dragging them. Faster swings deal more damage.
-
World Interaction: Drag tools over blocks to interact with them. Hold Shift for secondary actions.
- Hoe: Till farmland
- Shovel: Create dirt paths
- Axe: Strip logs
- Pickaxe: Mine blocks progressively (mining progress resets after about 2 seconds of inactivity)
Supports both Fortune and Silk Touch.



- Pick Up & Move: Look at a dropped item, then hold Right Click to grab it. Move your camera to drag it around.
- Throw: Flick your camera and release Right Click to throw the item. The faster you move, the farther it goes.
- Chain Items (Multi-Drag): While dragging an item, look at another item and press G (default keybind, configurable in Controls) to chain them together. You can chain up to 3 items.
- Place Blocks: Drag a placeable block onto a solid surface, then release Right Click to place it.
If you're not sure how something works, take a look at the videos in the Gallery section.
Note: A few videos are a little outdated and may not include the newest features.



To run Drag Things smoothly, please ensure you have the following mods installed:
- Fabric API: Core dependency. The mod will not launch without it.
- Cloth Config API: Required to load and save your custom configuration (like item weights).
- Mod Menu: (Highly Recommended) Allows you to open the configuration screen directly in-game to rebind keys and adjust settings.
You can definitely have other things to improve the visual:
- Smooth Glowing Resource Pack: Enhances Minecraft's default glowing outline effect, making chained or targeted items look much cleaner and smoother.
- Item Physic Lite: (Highly Recommended) Adds realistic 3D physics to dropped items, making the dragging experience feel even more immersive.



Known Issues
- OptiFine Compatibility: Using OptiFine (OptiFabric) may cause rendering glitches or visual desynchronization while dragging items. For the best compatibility, consider using Sodium and Iris instead.
- Network Latency: On multiplayer servers with high ping, dragged items may appear to stutter due to network latency.
- Mod Compatibility: Mods that significantly change item physics or inventory behaviour may not work correctly alongside Drag Things.
Found a bug that's not listed here? Feel free to open an issue on my GitHub page

Credits
This project includes code and assets copied and adapted from Visuality by PinkGoosik, used under the MIT License.
See LICENSE-THIRD_PARTY.md for details.
评论 0
登录后参与评分
还没有评论,来抢沙发吧