Sticky Hopper
一款 Minecraft Fabric 模组,让漏斗变得“粘”!
基于 Aurelien_Sama (FR) 的原始创意,并由 ShoukaSeikyo 编写了原型代码。
功能特性
Sticky Hopper 永远不会完全清空,而是会在每个库存槽中保留一个物品。
它被设计用作过滤器:简单、小巧、可切片、无需红石!
检查 Sticky Hopper 内容的比较器会忽略那些在单个库存槽中仅有一个副本的物品。
但一旦槽中有第二个物品,它们就会被计为 2/64(或 2/16,或该类型物品的最大堆叠数),而不是 1/63 或 1/64……
如果其他槽中有单个物品,它们仍然会被忽略。
由于任何情况下槽中都不能超过一个不可堆叠的物品,因此比较器始终会忽略不可堆叠的物品。
请注意,通过一排 Sticky Hopper 传输一堆物品所需的时间与正常漏斗相同(每次传输耗时 8 个游戏刻)。
但由于 Sticky Hopper 会保留一个物品,直到出现第二个相同的物品之前,它们实际上不会传输任何东西,所以起初可能会显得较慢。
合成
由于此版本是“仅限服务端”(SSO),显然无法通过合成台进行合成。
存在一个 “客户端 / 服务端”版本,你可以选择适合自己需求的版本。
要在此 SSO 版本中合成 Sticky Hopper,你需要将一瓶蜂蜜放置在已放置的漏斗上。是的,你的蜂蜜农场里会满是这些瓶子,抱歉!¯\_(ツ)_/¯
蜂蜜会被消耗掉,而瓶子可能会在 8 个游戏刻后被漏斗吸收!
除非你给它起一个自定义名称,否则打开其库存时,漏斗会显示为“Sticky Hopper”,其关联的物品也会以相同方式重命名(不带斜体字体)。
我相信遗憾的是,使用纹理包似乎无法为其提供不同的纹理,但当放置时,一些蜂蜜粒子会从 Sticky Hopper 的出口落下。
要拆解 Sticky Hopper,请将雪球扔在它上面。不要试图投掷它……否则你可能只是打开了漏斗的库存! ;)
你不知道雪球比水桶或水瓶更能有效清理蜂蜜吗?传说这是因为后者不可堆叠!
安装
玩家显然不需要在客户端安装这个“仅限服务端”的版本,除非是在离线模式下使用。
最低要求当然是 Fabric 启动器 和 Fabric API。
杂项
Sticky Hopper 的性能与普通漏斗相似(使用 Carpet Mod 测试,涉及超过 2500 个空闲的正常漏斗和 Sticky Hopper)。
你可以自由地在任何整合包中使用此模组。
此模组与我其他的模组 "Speedy Hopper" 无冲突工作,但当然,你将无法合成“快速粘性漏斗”,因此你必须做出选择并根据需要设计你的装置!
我不打算将其适配到除 Fabric 之外的其他加载器。
希望你会觉得这个模组有用!♥ 另外,欢迎查看 我的其他模组!
版本记录
4.1 - 蜂蜜粒子现在随机从 Sticky Hopper 的出口落下
4.0 - 由于新的悦灵生物可用于对不可堆叠物品进行分类,此功能已从本模组中移除,使其再次更符合原版风格!
3.1 - 现在使用 NBT 标签,使漏斗变粘或恢复原状的方法已更改;关于 Sticky Hopper 过滤不可堆叠物品的工作原理有一些小改动
3.0a - 改进分类书的功能 —— 这也是仅限服务端版本的首次发布!
已知不兼容项
- Lithium:
Lithium 中添加的漏斗优化会使 Sticky Hopper 表现得像普通漏斗一样!
我可能在某个时候解决此问题……在此期间,我的模组禁用了这些优化。
Sticky Hopper
Minecraft Fabric mod allowing hoppers to be sticky!
Based on an original idea by Aurelien_Sama (FR), and its prototype coded by ShoukaSeikyo.
Features
Sticky Hopper simply never empties completely, but retains a single item in each of its inventory slots instead.
It has been designed to be used as a filter. Simple, small, sliceable, redstone-less filter!
Comparators checking for Sticky Hopper content ignore all items which are in a single copy per inventory slot.
But as soon as there is a second item in a slot, they are counted as 2/64 (or 2/16, or whatever the maximum stack is for this type of item), not as 1/63 nor 1/64...
If there are single items in other slots, they are still ignored though.
Non-stackable items are always ignored by Comparators as there can't be more than one in a slot, by all means.
Please note that the time to transfer a stack of items through a line of Sticky Hoppers is the same as for normal Hoppers (8 game ticks per transfer).
But since Sticky Hoppers keep one item each, they do not actually transfer anything until the second (same) item, so they may seem slower at first.
Craft
As this version is "server-side only" (SSO), there are obviously no craft available through the crafting table.
A "client / server" version exists, so you can choose which one is right for you.
To craft a Sticky Hopper in this SSO version, you have to drop a Honey Bottle in a placed Hopper. Yes, your honey farms will be full of these, sorry! ¯\_(ツ)_/¯
The honey is consumed and the bottle may be absorbed by the hopper 8 ticks later!
Unless you give it a custom name, the hopper will appear as "Sticky Hopper" when opening its inventory, and its associated item will be renamed identically (with no italic font).
I believe that it's sadly not possible to give it a different texture with a texture pack, but a few honey particles will fall from the exit of the Sticky Hopper, when placed.
To uncraft a Sticky Hopper, drop a Snowball on it. Do not try to throw it... or you may just open the Hopper inventory! ;)
Didn't you know that snow cleans honey much better than a water bucket or a water bottle? The legend says that it is because the latter are not stackable!
Installation
Players obviously don't have to install this "server-side only" version client-side, unless it is to be used offline.
The minimum requirements are, of course the Fabric launcher, and the Fabric API.
Miscellaneous
Performance of Sticky Hoppers is similar to that of vanilla Hoppers (tested with Carpet Mod, on over 2500 idle normal and Sticky hoppers).
You are free to use this mod in any modpacks you'd make.
This mod works without conflict with my other mod "Speedy Hopper", but of course you won't be able to craft a "Fast Sticky Hopper", so you'll have to make choices and design your contraptions accordingly!
I don't plan to adapt it for another modloader than Fabric.
Hope you'll find this mod usefull! ♥ Also, feel free to take a look at my other mods!
Versions
4.1 - Honey particles now randomly fall from the exit of Sticky Hoppers
4.0 - As the new Allay mob can be used to sort non-stackable items, this feature has been removed from this mod, so it is more vanilla-friendly again!
3.1 - NBTs are now used and the way to make or unmake a Hopper sticky has changed; Small changes on how a Sticky Hopper filtering non-stackable items works
3.0a - Improving the functionality of the sorting book - This is also the first release of the server-side only version!
Known Incompatibilities
- Lithium:
Hoppers optimisations added in Lithium make Sticky Hoppers act like normal Hoppers!
I may work on this problem at some point... In the meantime, my mod disables these optimizations.
评论 0
登录后参与评分
还没有评论,来抢沙发吧