AdiCrate
一个针对 Fabric 的、体验不佳的 Storage Drawer 克隆模组。
合成表
我太懒了,不想在这里复制它们,请查看合成书
或 Roughly Enough Items。抱歉。
方块
木箱 (Crate)
一个木箱可以容纳多个堆叠(默认 32 个)的同一种物品。当被破坏时,木箱会保留其内容物,因此你可以轻松移动它。
你可以直接与木箱的前面(显示物品及其数量的那一面)进行交互:
- 左键点击(攻击)以提取一个堆叠的物品,
- Shift+左键点击(潜行攻击)以提取单个物品,
- 右键点击(使用)手持物品将其插入木箱(如果可能),
- Shift+右键点击(潜行使用)空手将背包中所有匹配的物品插入木箱。
木箱可以通过插入最多 5 个升级模块来进行改进。右键点击除前面以外的任何一面以打开其图形用户界面 (GUI)。在屏幕底部,玩家背包上方,有 5 个可用于升级的槽位。每个槽位可以放置一个物品,并且你可以插入多个相同类型的升级模块(例如 5 个铁锭)。
可用的升级模块包括:
- 铁锭:最大容量增加 8 个堆叠。
- 钻石:最大容量增加 16 个堆叠。
- 下界合金锭:最大容量增加 32 个堆叠。
- 蜘蛛网:锁定木箱至当前容纳的物品,即如果木箱被清空,它会记住该物品且不再接受其他物品。
- 岩浆桶:使木箱能够容纳超过其最大容量的物品,但溢出的物品会被销毁。
注意:如果你移除容量提升模块,导致剩余容量低于当前物品数量,木箱将会卡住,直到你再次增加容量之前无法使用。
漏斗以及任何支持 Fabric Transfer API 的模组也可以访问木箱。
控制器 (Controller)
控制器应放置在现有木箱旁边,并允许与所有连接的木箱进行交互。可能的交互方式(与正面)如下:
- 手持物品左键点击(攻击)以提取该物品的一个堆叠,
- 空手 Shift+左键点击(潜行攻击)以补全背包中的所有物品,
- 手持物品右键点击(使用)将其插入可接受该物品的木箱中,
- 空手 Shift+右键点击(潜行使用)将背包中所有匹配的物品插入木箱。
控制器不会与未锁定且空的木箱进行交互,因此你不能通过这种方式插入新物品。当多个木箱包含/接受同一种物品时,控制器会根据操作类型优先选择:
- 插入时,优先从非满且物品数量最多的木箱开始。
- 提取时,优先从物品数量最少的木箱开始。
漏斗以及任何支持 Fabric Transfer API 的模组也可以访问控制器。
许可证
除非另有明确说明,本仓库中的所有文件均在 MIT 许可证 (MIT) 下授权。
AdiCrate
A bad clone of Storage Drawer for Fabric.
Recipes
I am too lazy to copy them here, please check the recipe book
or Roughly Enough Items. Sorry.
Blocks
Crate
A crate can hold several stacks, 32 by default, of a single item. When broken, the crate retains its content so you can
move it easily.
You can interact directly with the front of the crate (the face showing the item and its count):
- Left-click (attack) to extract a stack of the contained item,
- Shift-left-click (sneak-attack) to extract one item,
- Right-click (use) with an item in hand to insert it into the crate, if possible,
- Shift-right-click (sneak-use) with an empty hand to insert all matching items from your inventory in the crate.
Crate can be improved by inserting up to 5 upgrades. Right-click (use) any face but the front to open its GUI. At the
bottom of the screen, just over the player inventory, there are 5 slots available for upgrades. Each slot can contain
one item, and you can insert several upgrade of the same type (e.g. 5 iron ingots).
Possible upgrades are:
- An iron ingot to increase the maximum capacity by 8 stacks.
- A diamond to increase the maximum capacity by 16 stacks.
- A netherite ingot to increase the maximum capacity by 32 stacks.
- A cobweb to lock the crate to the contained item, i.e. if the crate is emptied, it remembers the item and will not
accept other items.
- A bucket of lava to have the crate accepts more items than its maximum capacity but destroy overflow items.
Beware: if you remove a capacity increase and the resulting capacity is lower than the current amount of items, the
crate gets jammed and cannot be used until you increase the capacity again.
Crates can also be accessed by hoppers and any mod that supports the Fabric Transfer API.
Controller
The controller should be placed next to existing crates and allows to interact with all connected crates. The possible
interactions (with the front side) are:
- Left-click (attack) with an item in hand to extract a stack of said item,
- Shift-left-click (sneak-attack) with an empty hand to restock all items in your inventory,
- Right-click (use) with an item in hand to insert it into a crate that accepts it,
- Shift-right-click (sneak-use) with an empty hand to insert all matching items from your inventory into the crates.
The controller does not interact with unlocked, empty crates, so you cannot insert new items this way. When several
crates contain/accept the same item, the controller will prioritize them depending on the operation:
- when inserting, it starts with the non-full crate with the highest number of items.
- when extracting, it starts with the crate with the lowest number of items.
The controller can also be accessed by hoppers and any mod that supports the Fabric Transfer API.
License
Unless explicitly stated otherwise all files in this repository are licensed under the MIT License (MIT).
评论 0
登录后参与评分
还没有评论,来抢沙发吧