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:
- Tweakeroo
- Quick Shulker
- Take It Out, on supported 1.21.x and 26.x versions
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 Lockto 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
pickBlockableSlotsmust 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
- bunny_i for broad support and contributions to the project.
- aleksilassila/litematica-printer for the original project.
- zhaixianyu/litematica-printer for earlier fixes and features.
- MoRanpcy/quickshulker for Quick Shulker integration.
- bunnyi116/fabric-bedrock-miner for the bedrock-breaking foundation.
- Everyone who tests, reports issues, contributes code, or supports the project.
License
This project is licensed under the GNU Affero General Public License v3.0.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 3d ago | 1 | ||||
| 3d ago | 1 | ||||
| 3d ago | 1 | ||||
| 4d ago | 1 | ||||
| 4d ago | 1 | ||||
| 5d ago | 1 | ||||
| 6d ago | 1 | ||||
| 7d ago | 1 | ||||
| 8d ago | 1 | ||||
| 8d ago | 1 | ||||
| 8d ago | 1 | ||||
| 8d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 11d ago | 1 | ||||
| 11d ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 4mo ago | 1 |
Automated development build from [
704800937b02](https://github.com/Yur1Ca/litematica-printer/commit/704800937b02df52a6b0e65615184205b2267f32).Automated development build from [
3fa98c539174](https://github.com/Yur1Ca/litematica-printer/commit/3fa98c539174108c5a415b183a32bc202b9a115d).Automated development build from [
501e2bea335d](https://github.com/Yur1Ca/litematica-printer/commit/501e2bea335d36d16b87f4b0057ed0156cf3eba0).Automated development build from [
837e1d98c458](https://github.com/Yur1Ca/litematica-printer/commit/837e1d98c45808150e0508c67c904235cc76c3ec).Automated development build from [
d3e067be732d](https://github.com/Yur1Ca/litematica-printer/commit/d3e067be732d850414ea2e0d9c841718834e3ac1).拆分打印、挖掘、填充、排流体的规划职责
- 提取各自的规划器,收窄对完整运行时和全局配置的依赖。
- 按功能管理排队动作和补料请求,关闭单个功能只取消对应工作。
- 增加功能代次和会话检查,防止重新开启功能或切服后继续执行旧动作。
- 保留现有协议执行器、重试和确认流程,没有整体重写时序。
优化大投影的局部扫描
- 增加按 16×16×16 分区的空间索引和只读查询接口,减少对远处投影位置的遍历。
- 保持候选集合、距离过滤和最终排序一致,补齐顺序对照、区块重载和扫描生命周期测试。
- 离线百万位置、附近 257 个候选的场景,游标构建中位数从 10.04 ms 降至 0.080 ms。这是局部查询收益,不能直接换算成实服打印速度;索引构建和存储也有额外成本。
- 排序缓存和异步扫描仅完成实验,没有接入正式运行链路。
保留并完善轻松放置、中键取物
- 手动取物使用独立来源,不依赖打印机总开关。
- 补齐新版 Litematica Easy Place 入口适配,继续遵守跨组件库存互斥。
- 增加打印机关闭、延迟到货和切服等回归测试。
修复有序存储归还材料时的同步卡住路径
- 将连续预测点击后立即关闭容器,改为逐次等待服务器确认。
- 在途操作完成收尾前继续持有库存锁,避免其他补料请求插入。
- 处理关闭功能、容器被强制关闭及切服时的收尾,避免延迟鼠标物品同步造成持续暂停。
修复修改快捷键后没有响应
- 调整配置界面的初始化顺序,避免清理掉 MaLiLib 刚注册的快捷键监听器。
- 覆盖“缓存投影选区内容”“清空容器缓存”的重新绑定、生效、旧绑定移除和提示反馈。
- 这次修复的是快捷键注册链路,缓存功能原有语义保持不变。
补齐计时、架构约束和回归验证
- 增加运行时、补料、扫描、筛选、排序、动作执行等阶段的计时与计数,默认关闭。
- 增加构建检查,限制规划器重新依赖客户端、网络和库存执行接口。
- 覆盖跨功能互斥、高延迟、关闭功能、切服、区块重载及手动取物。
Automated development build from [
d8dd01a6e683](https://github.com/Yur1Ca/litematica-printer/commit/d8dd01a6e6833df38c7d3212162d3acdc8f1d2aa).Automated development build from [
52da1cd4cee9](https://github.com/Yur1Ca/litematica-printer/commit/52da1cd4cee9eab170c88cb6655bb5557a006769).Automated development build from [
ee48ee9012f9](https://github.com/Yur1Ca/litematica-printer/commit/ee48ee9012f9d1d195d3309b74d0cc73bb690f4a).feat: 虚空仓库补货与材料统计(服务端 carpet-Neko-Addition)
Automated development build from [
fbfa83bc824c](https://github.com/Yur1Ca/litematica-printer/commit/fbfa83bc824c513369be40f4cf0aa5eb4ac0d1c3).Automated development build from [
a175a4714993](https://github.com/Yur1Ca/litematica-printer/commit/a175a471499391f33804ff60f58e566cebcc5020).Automated development build from [
415984e8f355](https://github.com/Yur1Ca/litematica-printer/commit/415984e8f355771554fd61447d1396172afca182).Automated development build from [
0f2bad2e20ee](https://github.com/Yur1Ca/litematica-printer/commit/0f2bad2e20ee70071cb3f85a0f62a1f8effce5b3).Automated development build from [
2a450eac2020](https://github.com/Yur1Ca/litematica-printer/commit/2a450eac2020709c359ffab30966659720fbe0c9).Automated development build from [
0f046a597468](https://github.com/Yur1Ca/litematica-printer/commit/0f046a597468372bce6812a1acd5fec7959ed945).Automated development build from [
83f1a7792539](https://github.com/Yur1Ca/litematica-printer/commit/83f1a77925394989335347d45790061bc83f7031).Automated development build from [
c54d8de9a50f](https://github.com/Yur1Ca/litematica-printer/commit/c54d8de9a50fbaffb08cc18afa7f374765c9f50c).Beta2.8.[View GitHub release](https://github.com/Yur1Ca/litematica-printer/releases/tag/Beta2.8)
Automated development build from [
e4314d317359](https://github.com/Yur1Ca/litematica-printer/commit/e4314d317359234d14964b9ee9a98299afa50517).Automated development build from [
94f5df0c9639](https://github.com/Yur1Ca/litematica-printer/commit/94f5df0c9639b30c68f155493051082c2e7407aa).箱子合并问题
Automated development build from [
12f409761746](https://github.com/Yur1Ca/litematica-printer/commit/12f409761746ea08b1973ebdbae2f2e8df98f152).Automated development build from [
f755dc905ece](https://github.com/Yur1Ca/litematica-printer/commit/f755dc905ece9b61eafe00f7d593587d0cba4770).Automated development build from [
891bd95a5a04](https://github.com/Yur1Ca/litematica-printer/commit/891bd95a5a04f437da3cf63c47369af4cf1387a2).Automated development build from [
3f75acfbe8dd](https://github.com/Yur1Ca/litematica-printer/commit/3f75acfbe8ddb93702148503b0bfa2e91d977177).Automated development build from [
ea9ede4501c9](https://github.com/Yur1Ca/litematica-printer/commit/ea9ede4501c9d9070cb5e8f8a4462ad7d8a56804).Automated development build from [
6aa45e518315](https://github.com/Yur1Ca/litematica-printer/commit/6aa45e5183150219486df0b2abc5a1af7cf1ca42).Automated development build from [
20706abda436](https://github.com/Yur1Ca/litematica-printer/commit/20706abda4361b5f52a174f3490ccd387f0a86eb).Automated development build from [
c389eb63eac3](https://github.com/Yur1Ca/litematica-printer/commit/c389eb63eac3804d82c5428507e45c9c62d81276).Fix print retry after server reverts
Automated development build from [
f543cd387326](https://github.com/Yur1Ca/litematica-printer/commit/f543cd387326967c58b4aec62c32c688003dfbb6).Automated development build from [
6e1dfff74f9e](https://github.com/Yur1Ca/litematica-printer/commit/6e1dfff74f9e3ecaefa7bc0b630c873fa228d331).Automated development build from [
c3f8d77d3de0](https://github.com/Yur1Ca/litematica-printer/commit/c3f8d77d3de014ab8b4b064747d4b7b18be13659).