Litematica Printer — Hana
Litematica Printer — Hana 是一款客户端 Fabric 模组,为 Litematica 添加了自动化蓝图建造功能。它通过在玩家周围放置正确的方块来还原蓝图,并提供填充、流体清除、挖掘、基岩破坏、物品栏辅助及相关工具。
本仓库是早期 Litematica Printer 分支的独立维护延续版本,包含重写后的基岩破坏工作流、扫描器和迭代器改进,以及额外的建造功能。
支持的 Minecraft 版本
- 1.18.2
- 1.19.4
- 1.20.1, 1.20.2, 1.20.4, 和 1.20.6
- 1.21 至 1.21.11
- 26.1.x 和 26.3
低于 1.18.2 的版本不受支持。如果处于相同的兼容范围内,中间版本的 Minecraft 可能可以正常工作,但不一定作为单独的 JAR 文件构建。
需求
必需:
可选集成:
依赖项版本必须与启动的 Minecraft 版本匹配。
功能
打印与性能
- 按距离排序的中心化放置。
- 扫描缓存和时间预算迭代,适用于大型蓝图区域。
- 基于数据包的放置操作,无需客户端幽灵方块即可实现更快的操作。
- 放置进度和缺失材料 HUD 显示。
- 混合材料打印时的服务器延迟和往返时间保护机制。
- 对方向性和状态敏感方块的更安全处理。
建造工具
- 在活动蓝图或选择区域内进行填充。
- 排干水和熔岩源方块。
- 挖掘选定区域内的方块。
- 独立处理额外方块和错误状态的方块。
- 带有白名单的基岩破坏模式。
- 可水浸没方块的放置及破冰水放置。
- 使用活珊瑚替换蓝图中死亡的珊瑚。
物品栏集成
- Quick Shulker 材料检索及有序归还。
- Take It Out 远程材料检索(在受支持的版本上)。
- 材料切换保护机制,旨在防止使用上一个快捷栏物品进行放置。
打印机还包含许多原版方块的特殊放置逻辑,包括楼梯、门、活板门、漏斗、箱子、拉杆、红石线、藤蔓、悬挂植物、研钵、制造机、花簇以及其他方向性方块。
基本用法
- 使用 Litematica 在世界中加载蓝图。
- 移动到蓝图方块的交互范围内。
- 按下
Caps Lock 启用打印机。
- 根据服务器要求调整配置屏幕中的打印机设置。
大多数选项在配置界面中都包含工具提示。目前尚无官方完整教程。
已知不支持的内容
某些内容当前无法可靠地打印,可能会被跳过或以错误的状态放置:
- 头颅、告示牌、旗帜以及其他具有异常复杂状态或数据处理方式的方块。
- 含有液体的熔炉。
- 实体,如物品展示框、盔甲架和画作。
- 除非明确支持,否则非原版内容。
如果原版方块即使在保守的工作间隔下也被错误放置,请提交一份 方块支持报告。
故障排除
启用后打印机不工作
- 某些反作弊系统会拒绝打印机的无声旋转或放置交互。
- 极短的工作间隔可能会超过服务器的放置速率限制。增加间隔时间,或在服务器支持时尝试基于数据包的打印。
- 账户或会话状态有时会干扰交互数据包。重新连接账户或服务器可能会有所帮助。
方块以错误的状态放置
- 服务器反作弊或高延迟可能导致模拟旋转不被接受。
- 工作间隔可能太短,导致服务器无法确认材料切换和放置。
- 该方块可能需要尚未实现的放置逻辑。请在问题报告中包含其方块 ID、目标状态、Minecraft 版本、打印机版本以及一个可复现的例子。
Quick Shulker 不工作
- 服务器必须支持从库存中打开潜影盒,以配合所选的集成模式。
- 配置的模必须与实际可用的模组或服务器行为相匹配。
- Litematica 的
pickBlockableSlots 必须包含可用的快捷栏槽位,且不应全部被潜影盒填满。

支持与贡献
- 安装帮助、配置疑问、兼容性讨论及一般反馈请使用 GitHub Discussions。
- 仅针对可复现的 Bug、方块支持问题及具体的功能请求,使用 GitHub Issues 提交。
- 在提交新的报告前,请先搜索现有的 Issues 和 Discussions。
- 每个 Issue 请保持为独立且可复现的问题,并在适当时附上
latest.log、崩溃报告、截图或简短录屏。
致谢
许可协议
本项目基于 GNU Affero General Public License v3.0 许可协议授权。
Litematica Printer — Hana
Litematica Printer — Hana is a client-side Fabric mod that adds automated schematic building to Litematica. It restores a schematic by placing the correct blocks around the player and also provides filling, fluid removal, mining, bedrock breaking, inventory assistance, and related utilities.
This repository is an independently maintained continuation of earlier Litematica Printer forks, with a rewritten bedrock-breaking workflow, scanner and iterator improvements, and additional building features.
Supported Minecraft versions
- 1.18.2
- 1.19.4
- 1.20.1, 1.20.2, 1.20.4, and 1.20.6
- 1.21 through 1.21.11
- 26.1.x and 26.3
Versions older than 1.18.2 are not supported. Intermediate Minecraft versions may work when they are covered by the same compatibility range, but are not always built as separate JARs.
Requirements
Required:
Optional integrations:
Dependency versions must match the Minecraft version being launched.
Features
Printing and performance
- Player-centered placement ordered by distance.
- Scanner caching and time-budgeted iteration for large schematic areas.
- Packet-based placement for faster operation without client-side ghost blocks.
- Placement progress and missing-material HUDs.
- Server-lag and round-trip-time safeguards for mixed-material printing.
- Safer handling for directional and state-sensitive blocks.
Building tools
- Fill within the active schematic or selection area.
- Drain water and lava source blocks.
- Mine blocks within the selected area.
- Independent handling of extra blocks and wrong-state blocks.
- Bedrock-breaking mode with an allowlist.
- Waterlogged block placement and ice-breaking water placement.
- Replacement of dead coral in the schematic using live coral.
Inventory integrations
- Quick Shulker material retrieval and ordered return.
- Take It Out remote material retrieval on supported versions.
- Material switching safeguards intended to prevent placement with the previous hotbar item.
The printer also contains special placement logic for many vanilla blocks, including stairs, doors, trapdoors, hoppers, chests, levers, redstone wire, vines, hanging plants, grindstones, crafters, flower clusters, and other directional blocks.
Basic usage
- Load a schematic in the world with Litematica.
- Move within interaction range of the schematic blocks.
- Press
Caps Lock to enable the printer.
- Adjust printer settings in the configuration screen when required by the server.
Most options include tooltips in the configuration interface. There is not yet an official full tutorial.
Known unsupported content
Some content cannot currently be printed reliably and may be skipped or placed with an incorrect state:
- Skulls, signs, banners, and other blocks with unusually complex state or data handling.
- Cauldrons containing fluids.
- Entities such as item frames, armor stands, and paintings.
- Non-vanilla content unless it is explicitly supported.
If a vanilla block is placed incorrectly even at a conservative work interval, submit a block support report.
Troubleshooting
The printer does not work after being enabled
- Some anti-cheat systems reject the printer's silent rotation or placement interaction.
- A very short work interval can exceed a server's placement-rate limit. Increase the interval or try packet-based printing when the server supports it.
- Account or session state can occasionally interfere with interaction packets. Reconnecting the account or server may help.
Blocks are placed with the wrong state
- Server anti-cheat or high latency may prevent the simulated rotation from being accepted.
- The work interval may be too short for the server to acknowledge material switching and placement.
- The block may require placement logic that is not implemented yet. Please include its block ID, target state, Minecraft version, printer version, and a reproducible example in the issue.
Quick Shulker does not work
- The server must support opening shulker boxes from the inventory for the selected integration mode.
- The configured mode must match the mod or server behavior actually available.
- Litematica's
pickBlockableSlots must contain usable hotbar slots and should not be filled entirely with shulker boxes.

Support and contributing
- Use GitHub Discussions for installation help, configuration questions, compatibility discussions, and general feedback.
- Use GitHub Issues only for reproducible bugs, block support problems, and concrete feature requests.
- Search existing Issues and Discussions before opening a new report.
- Keep one independently reproducible problem per Issue and attach
latest.log, crash reports, screenshots, or short recordings where relevant.
Acknowledgements
License
This project is licensed under the GNU Affero General Public License v3.0.
评论 0
登录后参与评分
还没有评论,来抢沙发吧