从 1.21.x 更新到 26.1 后,海豚拾取并投掷由物品掉落产生的物品的速度从每小时约 4,000,000 件降至每小时约 140,000 件——减少了 28 倍。此更改未在任何补丁说明或 Mojang 变更日志中列出,构成了一项静默回归,破坏了任何依赖海豚物品吞吐量的装置。在 26.1 中,海豚的 PlayWithItemsGoal 被目标选择器系统限制——目标每 2 个游戏刻重新评估一次,在物品之间需要完整的停止/重启周期,并且由于流体交互系统的更改,会被 isInWater() 检查所阻塞。结果是物品拾取以缓慢批次进行,而非连续流。本模组完全绕过目标系统,直接注入 Dolphin.tick(),在每个服务器刻处理物品拾取和投掷。原版行为得以保留——物品以与之前相同的方式拾取和投掷,只是速度全开;同时保留了刷新消失计时器的机制。
备注:
- 仅适用于服务端——无需安装客户端
- 保留原版物品消失行为——投掷出的物品会获得新的消失计时器
- 不会导致物品重复生成——拾取时会丢弃原始实体,投掷时创建新实体(与原版机制相同)
- 仅影响海豚——不修改其他生物
When updating from 1.21.x to 26.1, dolphins picking up and throwing items dropped from ~4,000,000 items/hour to ~140,000 items/hour — a 28x reduction. This change was not listed in any patch notes or Mojang changelogs, making it a silent regression that breaks any contraption relying on dolphin item throughput. In 26.1, the dolphin's PlayWithItemsGoal is throttled by the goal selector system — goals re-evaluate every 2 ticks, require full stop/restart cycles between items, and are blocked by the isInWater() check from a changed fluid interaction system. The result is item pickup happening in slow batches instead of a continuous stream. This mod bypasses the goal system entirely and injects directly into Dolphin.tick(), handling item pickup and throw every server tick. Vanilla behavior is preserved — items are picked up and thrown identically to before, just at full speed; the despawn timer refresh mechanic is also preserved.
Notes:
Server-side only — no client installation required
Vanilla item despawn behavior is preserved — thrown items receive a fresh despawn timer
No item duplication — pickup discards the original entity, throw creates a new one (same as vanilla mechanic)
Only affects dolphins — no other mobs are modified
评论 0
登录后参与评分
还没有评论,来抢沙发吧