工作台
一个会显示其后方容器的合成台。摆好配方后,无需关闭界面或来回走动即可将材料拖拽过去。
工作原理
将工作台放置在容器前方——放置时它会面向玩家,因此它读取的是正后方的方块。打开工作台会显示两个部分:左侧是容器槽位及其名称,右侧是带有你物品栏的常规 3×3 合成网格。
两侧均为实时同步。你可以像在任意容器界面中一样,在两者之间拖拽或按住 Shift 点击。从容器端按住 Shift 点击会将物品直接发送至合成网格,这正是你打开工作台的初衷。
网格会保留你留在其中的内容,因此工作台可以在两次访问之间保持配方设置状态。在工作台背面放置比较器可以读取网格的填充程度。
支持的容器
检测机制使用了与漏斗相同的原版辅助函数,因此任何漏斗能够抽取的容器均可在此使用:
|
|
| 箱子、陷阱箱 |
27 个槽位 |
| 双层箱子 |
54 个槽位,显示为单个面板 |
| barrels、潜影盒 |
27 个槽位 |
| 发射器、投掷器 |
9 个槽位 |
| 漏斗 |
5 个槽位 |
| 模组容器 |
取决于其容量 |
面板
面板大小会根据容器自动调整。位于工作台后的漏斗显示五个槽位,双层箱子显示全部五十四个槽位,而更高的容器则支持滚动——可通过鼠标滚轮或右侧的滚动条进行滚动,滚动条手柄的大小反映了你所查看部分的占比。
合成配方
无形状:1 箱子 + 1 合成台。
要求
|
|
| Minecraft |
1.20.1 |
| Loader |
Fabric ≥ 0.16.10 |
| Fabric API |
必需 |
| 环境 |
客户端和服务器端,包括专用服务器 |
许可证
以 MIT 许可证 发布。可在任何地方游玩,可放入整合包,可查看源码并在此基础上构建——只需保留版权声明即可。
Crafting Station
A crafting table that shows the container behind it. Lay out a recipe and pull the
ingredients across without closing the screen or walking back and forth.
How It Works
Place the Crafting Station against a container — it faces you when placed, so the block it
reads is the one directly behind it. Opening the station shows two halves: the container's
slots on the left, under its own name, and the usual 3×3 grid with your inventory on the
right.
Both halves are live. Drag or shift-click between them like you would in any container
screen. Shift-clicking from the container sends items straight to the crafting grid, which is
what you opened the station for.
The grid keeps what you leave in it, so a station can stay set up with a recipe between two
visits. A comparator placed against it reads how full the grid is.
Supported Containers
Detection uses the same vanilla helper a hopper uses, so anything a hopper can pull from
works here:
|
|
| Chest, trapped chest |
27 slots |
| Double chest |
54 slots, shown as one panel |
| Barrel, shulker box |
27 slots |
| Dispenser, dropper |
9 slots |
| Hopper |
5 slots |
| Modded containers |
whatever they hold |
The Panel
The panel sizes itself to the container. A hopper behind the station shows five slots, a
double chest shows all fifty-four, and anything taller scrolls — mouse wheel or the scrollbar
on the right, whose handle is sized to the share you are looking at.
Recipe
Shapeless: 1 Chest + 1 Crafting Table.
Requirements
|
|
| Minecraft |
1.20.1 |
| Loader |
Fabric ≥ 0.16.10 |
| Fabric API |
required |
| Environment |
client and server, including dedicated |
License
Released under the MIT License. Play it anywhere, put it in a modpack, read the source
and build on it — just keep the copyright notice.
评论 0
登录后参与评分
还没有评论,来抢沙发吧