此模组添加了一个机械泵。该泵会消耗流体,但你需要搭配有限水源模组才能排干一片水域。
泵的抽取优先级规则为:优先抽取与泵相连、Y 轴坐标最高且距离泵最远的水源方块。
泵的作用范围为半径 96 格(6 个区块)(约 30k 格),每刻扫描 1000 个方块。因此,在大型海洋中,其最高抽水速度为每秒 1 格(即 1.5 秒/格),无论注入多少能量都无法提升这一速度。
每刻扫描 1000 个方块的速率不会对性能造成任何影响。代码使用 TreeSet 按距离对方块进行排序。未来可能会对此进行优化……
泵每旋转一次处理一个方块。
使用建议:
强烈建议你安装我的有限水源模组(finite water mod),以便从大面积水域抽水时获得更好的性能。即使你希望所有地方都拥有无限水源,只需将黑名单设为空即可。
让我们来看以下示例:

默认情况下,泵会尝试抽取它能找到的最高水位水源。这将移除水道并破坏建筑。配合我的有限水源模组后,泵会识别出它位于水源无限的河流生物群系中。因此,它会尝试抽取它能找到的第一个水源,而保留水道。
请注意,泵始终优先抽取上方的水源。因此在上述示例中,你需要确保泵正下方有水源方块,否则泵会向上扫描水道。一旦泵检测到当前扫描位置上方 Y 轴更高处存在任何水方块,它将完全忽略当前扫描,仅对更高 Y 轴层级进行水源搜索。
This mod adds a mechanical pump. The pump does consume fluids, but you need a finite water mod to empty a water area.
The pump always prioritizes source blocks at the highest connected y level that are the most far away from the pump to be pumped first.
The pump works in a radius of 96 blocks (6chunks) (~30k blocks) around the pump, scanning 1000 blocks per tick. So its highest speed on large oceans is 1 block / 1.5 seconds, no matter how much energy you put in.
A scanning speed of 1000/tick should not have any performance impacts. The code uses a TreeSet to sort the blocks by distance . Maybe I will optimize this in the future...
The pump processes 1 block every rotation.
Recommendations for use:
I strongly recommend you install my finite water mod for improved performance when pumping water from large areas of water. Even if you want infinite water everywhere you can just set the blacklist empty.
lets look at the following example:

By default, the pump will try to pump the highest water source it can find. This would remove the water channel and break the build. With my finite water mod, the pump will notice it sits in a river biome where water is infinite. So it will try to pump the first water source it can find and leave the water channel.
Note that the pump will always prioritize water above, so in the example shown you would need to have a water source directly below the pump or it would scan the channel up. Once the pump detects any water block at a higher y level from where it currently scans, it will completly disregard the current scan and only scan the higher y level for water sources.
下载 Mechanical Pump
下载 Mechanical Pump
下载 Mechanical Pump
下载 Mechanical Pump
下载 Mechanical Pump
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧