Litematica Container Filler
一个用于自动填充图纸容器、高亮显示容器状态、替换所需物品并提供实用容器工具客户端侧的 Litematica 扩展。
它从 Litematica 图纸中读取容器内容,并帮助填充匹配的实体容器,如箱子、 barrels、潜影盒、制造器、熔炉、漏斗、发射器等。该模组专为大型存储系统、物品分类器、制作站、地图艺术装箱、自动制作装置和密集的容器堆而设计。
主要功能
图纸容器填充
- 根据存储在 Litematica 图纸中的容器 NBT 数据和槽位布局填充实体容器。
- 支持一键填充:注视目标容器并按下填充快捷键。
- 支持工作状态:持续扫描附近的容器,排队有效任务,并自动填充它们。
- 支持制造器槽位锁定。如果材料缺失,模组仍会优先处理所需的槽位锁定,而不是什么都不做。
- 将双箱视为一个连接的容器处理。
- 支持 Carpet
largeBarrels,但必须在配置中手动启用。 - 可配置的填充半径、操作延迟、安全延迟和状态保护。
容器状态高亮
模组可以直接在世界中渲染容器状态:
- 未填充
- 部分填充
- 已满足
- 过度填充
- 错误物品
- 未知数据
- 未放置容器
- 手动完成
- 手动需要填充
当前渲染器使用半透明主体、顶板和动画 3D 任务标记,而不是旧式的线框风格。正在填充的容器、排队的容器以及缺少材料的 events 也可以显示单独的动画标记。
高亮颜色、不透明度、任务标记、动画 FPS 限制、渲染半径和每种状态的切换均可配置。默认情况下禁用 X-ray 高亮,默认高亮渲染半径为 0。
物品替换
物品替换影响实际的填充行为,而不仅仅是材料列表显示。
- 支持全局替换规则。
- 支持按图纸替换规则。
- 按图纸的规则优先级高于全局规则。
- 提供可视化的替换选择器。
- 支持精确的物品数据,包括自定义名称、附魔和数据组件。
- 手动规则使用
source_item_id->target_item_id,例如minecraft:stone->minecraft:cobblestone。 - 支持自定义名称匹配,例如
minecraft:paper#slot1->minecraft:iron_ingot。 - 将物品替换为
minecraft:air会使填充器忽略该物品。
材料列表集成
Litematica 材料列表获得了额外的容器感知控制:
- 仅显示建筑方块。
- 仅显示图纸容器中所需的物品。
- 同时显示方块和容器物品。
- 直接从材料列表打开物品替换选择器。
- 显示被替换物品的替换标记和工具提示。
- 从你注视的容器中收集缺少的材料列表物品。
库存与潜影盒物流
- 从玩家库存中的潜影盒提取所需物品。
- 支持 QuickShulker。
- 为其他类似快速潜影盒的模组提供模拟右键模式,取决于这些模组是否监听兼容的 GUI 动作。
- 支持 TakeItOut 服务器端协议;不一定需要客户端侧的 TakeItOut 模组。
- 如果内容匹配,可以将不同颜色的潜影盒视为兼容。
- 有序物品存储取代了旧的自动释放库存空间逻辑:当需要空间时,物品首先返回到源潜影盒或匹配的潜影盒中。
- 对于插件密集或更严格的反作弊服务器,提供慢速点击数据包模式。
容器工具
模组包含几种独立于图纸填充的注视容器工具:
- 清空容器:清空注视的容器。输出可以掉落、移动到库存,或先移动到库存再掉落。
- 填满:用库存中明确的物品填充注视的容器。适用于临时制作站。
- 同步容器:读取模板容器,然后将其他目标容器同步到相同的布局。
- 容器打包:将目标容器中的物品打包到你库存中的潜影盒里。
- 收集材料:从目标容器中收集缺少的 Litematica 材料列表物品。
工具支持下一个/上一个工具切换、关闭所有工具、按住重复、同容器冷却时间和可选的工具 HUD。
容器过滤器
限制哪些容器受图纸填充和工具的影响:
- 禁用、白名单和黑名单模式。
- 将过滤器应用于图纸填充、容器工具或两者。
- 可视化的容器选择器。
- 通配符规则,例如
minecraft:*_shulker_box。 - 尝试通过实体块、库存接口和常见的类容器方块 ID 检测模组容器。
手动容器标记
如果由于图纸数据、服务器插件或临时工作流程需求而无法正确判断容器,你可以手动循环其状态:
- 自动
- 手动完成:填充将跳过此容器
- 手动需要填充:容器保持高亮并参与填充
手动标记也可以用于当前图纸范围之外的容器。
用法
默认配置快捷键:L + C
默认一键填充快捷键:V
对于连续填充,请在配置中启用 Work State,如有需要绑定快捷键,并根据你的环境调整填充半径和操作延迟。
依赖项
必需:
- Fabric Loader
- Fabric API
- MaLiLib
- Litematica
可选:
- Mod Menu:配置屏幕访问。
- QuickShulker:快速的库存潜影盒打开和提取。
- Servux 或兼容的数据源:无需打开容器即可获取真实容器数据。
- MiniHUD:模组可能会读取其容器预览缓存。
- TakeItOut 服务器端协议:服务器端潜影盒提取支持。
注意事项与警告
服务器风险: 自动化容器操作可能被服务器插件或反作弊系统视为异常点击、自动整理或自动填充。如有需要,请增加操作延迟或启用慢速点击数据包模式。
空结构容器清理: 若启用此选项,模组可能会从结构图中为空但现实中存在的容器中移除物品。这可用于清除熔炉灰烬,但也可能损坏机器。启用前请检查你的结构图及作用范围。
Carpet 大型桶: 仅当服务器实际启用了 Carpet largeBarrels 时再启用此选项。否则可能出现槽位偏移和状态检测错误。
渲染编辑器布局: 在小窗口、自定义 GUI 缩放比例、非标准分辨率或非标准宽高比下,渲染编辑器可能会出现错位或难以点击的情况。编辑这些设置时请使用更大的窗口或默认的 GUI 缩放比例。
许可证与第三方项目
本项目采用 LGPL-3.0-only 许可证。
本项目依赖、集成或参考了 Litematica、MaLiLib、Fabric API、Mod Menu、QuickShulker、TakeItOut、Servux、MiniHUD、SchematicPreview、litematica-printer、itemscroller 和 tweakermore 等项目。除非源文件中另有明确说明,否则本项目不会捆绑、复制或重新分发它们的源代码、资源文件或二进制文件。项目名称和描述仅用于解释依赖关系、兼容性或设计参考。
Litematica Container Filler
A client-side Litematica extension for automatically filling schematic containers, highlighting container states, replacing required items, and providing practical container tools.
It reads container contents from Litematica schematics and helps fill matching real-world containers such as chests, barrels, shulker boxes, crafters, furnaces, hoppers, dispensers, and more. It is designed for large storage systems, item sorters, crafting stations, map-art boxing, auto-crafting setups, and dense container piles.
Main Features
Schematic Container Filling
- Fills real containers according to the container NBT and slot layout stored in the Litematica schematic.
- Supports one-shot filling: look at a target container and press the fill hotkey.
- Supports Work State: continuously scans nearby containers, queues valid tasks, and fills them automatically.
- Supports crafter slot locking. If materials are missing, the mod still prioritizes required slot locks instead of doing nothing.
- Handles double chests as one connected container.
- Supports Carpet
largeBarrels, but it must be enabled manually in the config. - Configurable fill radius, action delay, safety delay, and state protection.
Container State Highlights
The mod can render container status directly in the world:
- Unfilled
- Partial
- Satisfied
- Overfilled
- Wrong item
- Unknown data
- Unplaced container
- Manually completed
- Manually needs fill
The current renderer uses translucent bodies, top plates, and animated 3D task markers instead of old-style wireframes. Containers currently being filled, queued containers, and missing-material events can also show separate animated markers.
Highlight colors, opacity, task markers, animation FPS limits, render radius, and per-state toggles are configurable. X-ray highlights are disabled by default, and the default highlight render radius is 0.
Item Replacement
Item replacement affects actual filling behavior, not only the material list display.
- Supports global replacement rules.
- Supports per-schematic replacement rules.
- Per-schematic rules take priority over global rules.
- Provides a visual replacement picker.
- Supports exact item data, including custom names, enchantments, and data components.
- Manual rules use
source_item_id->target_item_id, for exampleminecraft:stone->minecraft:cobblestone. - Custom-name matching is supported, for example
minecraft:paper#slot1->minecraft:iron_ingot. - Replacing an item with
minecraft:airmakes the filler ignore that item.
Material List Integration
The Litematica material list gets extra container-aware controls:
- Show only building blocks.
- Show only items required inside schematic containers.
- Show blocks and container items together.
- Open the item replacement picker directly from the material list.
- Show replacement markers and tooltips for replaced items.
- Collect missing material-list items from the container you are looking at.
Inventory and Shulker Logistics
- Extracts required items from shulker boxes in the player inventory.
- Supports QuickShulker.
- Provides a simulated right-click mode for other quick-shulker-like mods, depending on whether those mods listen to compatible GUI actions.
- Supports the TakeItOut server-side protocol; the client-side TakeItOut mod is not always required.
- Can treat shulker boxes with different colors as compatible if their contents match.
- Orderly item storage replaces the old automatic inventory-space freeing logic: items are returned to source shulkers or matching shulkers first when space is needed.
- Slow click packet mode is available for plugin-heavy or stricter anti-cheat servers.
Container Tools
The mod includes several look-at-container tools independent of schematic filling:
- Clear Container: clears the looked-at container. Output can be dropped, moved to inventory, or moved to inventory first and then dropped.
- Fill Full: fills the looked-at container with an unambiguous item from your inventory. Useful for temporary crafting stations.
- Sync Container: reads a template container, then syncs other target containers to the same layout.
- Container Packing: packs items from the target container into shulker boxes in your inventory.
- Collect Materials: collects missing Litematica material-list items from the target container.
Tools support next/previous tool switching, closing all tools, hold-to-repeat, same-container cooldowns, and an optional tool HUD.
Container Filter
Limit which containers are affected by schematic filling and tools:
- Disabled, whitelist, and blacklist modes.
- Apply the filter to schematic filling, container tools, or both.
- Visual container picker.
- Wildcard rules such as
minecraft:*_shulker_box. - Attempts to detect modded containers through block entities, inventory interfaces, and common container-like block IDs.
Manual Container Marks
If a container cannot be judged correctly because of schematic data, server plugins, or temporary workflow needs, you can manually cycle its state:
- Automatic
- Manually completed: filling will skip this container
- Manually needs fill: the container stays highlighted and participates in filling
Manual marks can also be used on containers outside the current schematic range.
Usage
Default config hotkey: L + C
Default one-shot fill hotkey: V
For continuous filling, enable Work State in the config, bind a hotkey if needed, and adjust the fill radius and action delay for your environment.
Dependencies
Required:
- Fabric Loader
- Fabric API
- MaLiLib
- Litematica
Optional:
- Mod Menu: config screen access.
- QuickShulker: fast inventory shulker opening and extraction.
- Servux or a compatible data source: fetch real container data without opening containers.
- MiniHUD: the mod may read its container preview cache.
- TakeItOut server-side protocol: server-side shulker extraction support.
Notes and Warnings
Server risk: automated container operations may be considered abnormal clicking, auto-sorting, or auto-filling by server plugins or anti-cheat systems. Increase the action delay or enable slow click packet mode if needed.
Empty-schematic container clearing: if enabled, the mod may remove items from real containers that are empty in the schematic. This can be useful for clearing furnace ash, but it can also break machines. Check your schematic and range before enabling it.
Carpet large barrels: only enable this option if the server actually has Carpet largeBarrels enabled. Otherwise, slot offsets and incorrect state checks may occur.
Render editor layout: in small windows, custom GUI scales, unusual resolutions, or unusual aspect ratios, the render editor may become misaligned or hard to click. Use a larger window or default GUI scale when editing those settings.
License and Third-Party Projects
This project is licensed under LGPL-3.0-only.
This project depends on, integrates with, or references projects such as Litematica, MaLiLib, Fabric API, Mod Menu, QuickShulker, TakeItOut, Servux, MiniHUD, SchematicPreview, litematica-printer, itemscroller, and tweakermore. Unless explicitly stated in source files, this project does not bundle, copy, or redistribute their source code, assets, or binaries. Project names and descriptions are used only to explain dependencies, compatibility, or design references.
下载 Litematica Container Filler
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Litematica Container Filler
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Litematica Container Filler
下载 Litematica Container Filler
下载 Litematica Container Filler
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Litematica Container Filler
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Litematica Container Filler
下载 Litematica Container Filler
下载 Litematica Container Filler
下载 Litematica Container Filler
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
发布于 1.21.6 分支。
完整发布说明:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧