Sticky Hopper
一款 Fabric 模组,让漏斗变得具有粘性!
基于 Aurelien_Sama (FR) 的原始创意,并由 ShoukaSeikyo 编写了原型代码。
特性
Sticky Hopper —— 显然这是本模组添加的新方块 —— 永远不会完全清空,而是会在每个物品栏槽位中保留一个物品。
它被设计用作过滤器。简单、小巧、可切割、无需红石!
检查 Sticky Hopper 内容的比较器会忽略所有在每个物品栏槽位中仅有一个的物品。
但只要槽位中有第二个物品,它们就会被计为 2/64(或 2/16,或其他此类物品的最大堆叠数),而不是 1/63 或 1/64……
如果其他槽位中有单个物品,它们仍然会被忽略。
不可堆叠的物品始终被比较器忽略,因为无论如何一个槽位中不可能超过一个。
请注意,通过一排 Sticky Hopper 传输一堆物品的时间与正常漏斗相同(每次传输 8 个游戏刻)。
但由于 Sticky Hopper 各自保留一个物品,直到出现第二个(相同的)物品之前,它们实际上不会传输任何内容,因此起初可能看起来较慢。
合成
将蜂蜜瓶放在普通漏斗上方即可。就这么简单!¯\_(ツ)_/¯

当然,它会返还空玻璃瓶!
还可以清理 Sticky Hopper,只需在其上方放置雪球即可。

你不知道雪比水桶或水瓶更能清洁蜂蜜吗?传说这是因为后者不可堆叠!
请注意,存在一个“仅限服务器端”的版本,因此你可以选择最适合你的版本。
安装
由于此“客户端 / 服务器”版本添加了一个新方块,如果你想在服务器上使用它,客户端也需要安装该模组,以便他们可以看到并合成 Sticky Hopper。
最低要求当然是 Fabric 启动器 和 Fabric API。
杂项
Sticky Hopper 的性能与普通漏斗相似,甚至略好一些(使用 Carpet Mod 测试,超过 2500 个空闲的正常漏斗和 Sticky Hopper)。
本模组已翻译成英文和法文。
你可以自由地将本模组用于你制作的任何整合包中。
本模组与我的另一个模组 “Speedy Hopper” 无冲突,但当然你无法合成“快速粘性漏斗”,因此你需要做出选择并根据需要设计你的装置!
我没有计划将其适配到除 Fabric 之外的其他加载器。
希望你会觉得这个模组有用!♥ 另外,欢迎查看 我的其他模组!
版本记录
4.0 - 由于新的悦灵生物可用于分类不可堆叠物品,此功能已从本模组中移除,使其再次更符合原版风格!
3.1 - 关于 Sticky Hopper 过滤不可堆叠物品的工作原理进行了小改动
3.0b - 修正 Mod Menu 中的文本
3.0a - 改进排序书的功能 —— 这也是仅限服务器端版本的第一个发布!
3.0 - 添加过滤不可堆叠物品的能力
2.3 - 错误修复:添加了镐标签,现在可以挖掘 Sticky Hopper 了!
2.2 - 简化清理合成
2.1 - 不可堆叠物品最终可以被保留(但不能过滤);添加了清理合成
2.0 - 比较器管理;传输冷却错误修复
1.0 - 初始项目,带有可用的 Sticky Hopper
已知不兼容
- Lithium:
Lithium 中添加的漏斗优化会使 Sticky Hopper 表现得像普通漏斗一样!
我可能会在某个时候解决这个问题……与此同时,我的模组禁用了这些优化。
- Vanilla Tweaks - Resource Packs:
我发现两个 Vanilla Tweaks 资源包 存在小的兼容性问题,这是由于此客户端/服务器版本的 Sticky Hopper 纹理变化所致。
=> Directional Hoppers 通常会在漏斗未指向下方时显示箭头。但由于蜂蜜的自定义纹理,它在 Sticky Hopper 中不会出现。
=> 3D Items 更令人烦恼,它更改了物品的模型(在主手、副手以及掉落在地上的物品中),不幸的是蜂蜜纹理完全不会出现。
以下是说明这些问题的截图(无资源包、使用 Directional Hoppers、以及使用 3D Items):

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 — which is obviously a new block added by this mod — 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
A Honey Bottle on top of a normal Hopper. That's it! ¯\_(ツ)_/¯

Of course, it gives the empty Glass Bottle back!
It is also possible to clean up a Sticky Hopper, just place a Snowball on top of it.

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!
Please note that a "server-side only" version exists, so you can choose which one is right for you.
Installation
As this "client / server" version adds a new block, if you want to use it on a server, clients should have it too, so they can see and craft the Sticky Hopper.
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, if not slightly better (tested with Carpet Mod, on over 2500 idle normal and Sticky hoppers).
This mod is translated in English and French.
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.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 - Small changes on how a Sticky Hopper filtering non-stackable items works
3.0b - Correcting texts for Mod Menu
3.0a - Improving the functionality of the sorting book - This is also the first release of the server-side only version!
3.0 - Adding the ability to filter non-stackable items
2.3 - Bugfix: Pickaxe tag added, so it's possible to mine Sticky Hoppers!
2.2 - Cleaning craft simplified
2.1 - Non-stackable items can finally be retained (but not filtered); Clean up craft added
2.0 - Comparators management; Transfer cooldown bugfix
1.0 - Initial project with operational Sticky Hoppers
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.
- Vanilla Tweaks - Resource Packs:
I've found two Vanilla Tweaks resource packs that have small compatibility issues, due to the change in texture of the Sticky Hoppers for this client/server version.
=> Directional Hoppers normally displays an arrow inside the hopper if it is not pointing down. It does not appear in Sticky Hoppers because of the custom texture of the honey.
=> 3D Items, more annoying, changes the model used for items (in the hotbar, in the hand, and also for items dropped on the ground), and unfortunately the honey texture does not appear at all.
Here are screenshots to illustrate those issues (without resource packs, with Directional Hoppers, and with 3D Items):

评论 0
登录后参与评分
还没有评论,来抢沙发吧