无需频繁点击鼠标右键即可从结构文件进行建造。
bHold easyPlace 使 Litematica 的「轻松放置」模式在每次客户端刻时自动触发,无需按住使用键。只需注视结构文件中的位置,方块便会自动放置。
本模组是 Hold-Easy-Place(由 shane0411 开发,采用 MIT 许可证)针对 Minecraft 26.x 版本的延续。上游最后一个支持 1.21.x 的版本。此版本已基于当前 Litematica 和 malilib 的内部机制进行了重写。
工作原理
- 像往常一样在 Litematica 中开启简易放置功能(
easyPlaceMode)。
- 在 Litematica 配置 > 常规中启用 按住简易放置模式,或者
在热键选项卡中绑定 切换按住简易放置。
- 对准蓝图。无需按键即可放置方块。
这两项设置会像其他 Litematica 选项一样保存到 litematica.json 文件中。
预期效果
- 这是 Litematica 自带的简易放置(Easy Place)功能,去除了按住按键的限制。它并非打印机:放置遵循原版距离限制,需要准星对准目标方块,并且每秒尝试放置一次。不会在你身后或穿透墙壁进行放置。
- 当 Litematica 应接管该刻时,会自动退让一步:在 REBUILD 工具模式下、GUI 打开时以及你实际按住使用键期间。
- 同时支持旧的 Easy Place 路径和
easyPlacePostRewrite。
- 按住模式下的放置失败不会显示在聊天栏中。你自己的点击操作仍会保留原版 Litematica 的反馈。
服务器自定义物品(可选)
一些服务器会发放自定义物品,例如无限方块。Easy Place 可以像对待其他物品一样从这些物品中放置,但“拾取方块”功能可能会在快捷栏中打乱它们的顺序,或者丢失其中一个的追踪。bHold easyPlace 为此添加了三个切换选项,全部位于 Litematica 配置 > 常规(Generic)中:
- 持有时跳过拾取方块:当你当前持有的物品已满足目标时,不干扰你的快捷栏。
- 保护自定义物品:“拾取方块”永远不会将另一个物品移动到一个持有自定义物品的槽位中。
- 自定义物品丢失看门狗:当自定义物品离开你的物品栏且在两秒内未被返还时,带有时间戳发出警告,这样丢失的无限方块就能作为附带证据的支持工单。
同时也运行 EasyPlaceFix 吗?在多人游戏中,它使用自己的设置来处理放置,因此也请为其启用 nbtIgnore 和 loosenMode 选项以处理自定义物品。
要求
Minecraft 26.3、Fabric,以及
Fabric API、
malilib 0.30.2 或更高版本,以及
Litematica 0.29.1 或更高版本。
仅限客户端。在 Minecraft 26.2 上,请使用 0.5.0+26.2,这是该版本的最后一个发布版。
如果你仍然安装了原始的 Hold-Easy-Place jar 文件,请将其移除。此模组声明与之冲突,因为两个模组会在同一个刻驱动 Easy Place。
致谢
- shane0411 编写了最初的
Hold-Easy-Place。
- masa 编写了 Litematica 和 malilib。
源代码位于 GitHub,采用 MIT 许可证。
Build from schematics without wearing out your right mouse button.
bHold easyPlace keeps Litematica's
Easy Place mode firing every client tick, with no use key held. Look at
the schematic and the blocks go in.
This is the Minecraft 26.x continuation of
Hold-Easy-Place by shane0411
(MIT). The last upstream release supports 1.21.x. This version was
rewritten against current Litematica and malilib internals.
How it works
- Turn on Easy Place in Litematica as usual (
easyPlaceMode).
- Enable Hold Easy Place Mode in Litematica config > Generic, or
bind Toggle Hold Easy Place in the Hotkeys tab.
- Aim at the schematic. Blocks place with no key held.
Both settings save to litematica.json like any other Litematica
option.
What to expect
- This is Litematica's own Easy Place, minus the held key. It is not
a printer. Placement uses vanilla reach, needs the target block under
your crosshair, and makes one placement attempt per tick. Nothing gets
placed behind you or through walls.
- Steps aside whenever Litematica should own the tick: in REBUILD tool
mode, while a GUI is open, and while you physically hold the use key.
- Works with both the legacy Easy Place path and
easyPlacePostRewrite.
- Hold-mode placement failures stay out of chat. Your own clicks keep
stock Litematica feedback.
Server custom items (optional)
Some servers hand out custom items such as infinite blocks. Easy Place
places from them like any other item, but pick block can shuffle them
around your hotbar or lose track of one. bHold easyPlace adds three
toggles for that, all in Litematica config > Generic:
- Skip Pick Block When Held: leaves your hotbar alone when what you
already hold satisfies the target.
- Protect Custom Items: pick block never moves another item into a
slot holding a custom item.
- Custom Item Loss Watchdog: warns with a timestamp when a custom
item leaves your inventory and is not given back within two seconds,
so a lost infinite block becomes a support ticket with evidence.
Running EasyPlaceFix too? On multiplayer it handles placement with its
own settings, so enable its nbtIgnore and loosenMode options for
custom items there as well.
Requirements
Minecraft 26.3, Fabric, plus
Fabric API,
malilib 0.30.2 or newer, and
Litematica 0.29.1 or newer.
Client-side only. On Minecraft 26.2, use 0.5.0+26.2, the last release
for that version.
If you still have the original Hold-Easy-Place jar installed, remove
it. This mod declares a conflict with it, because both mods would drive
Easy Place on the same tick.
Credits
- shane0411 wrote the original
Hold-Easy-Place.
- masa wrote Litematica and malilib.
Source on GitHub, MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧