Accelerated Decay
树叶快速消失
Accelerated Decay 是一种替代性的 fast leaf decay(树叶快速腐烂)概念。与让树叶方块快速进行刻更新不同,我们只需在条件允许时尽快移除它们。本模组通过尽可能遵循原版逻辑的方式实现这一机制:我们将树叶检测逻辑延迟执行,以便游戏能够自然地标记出可被移除的树叶。
Accelerated Decay 的目标之一是降低客户端与服务器的卡顿。我们通过采用基于时间的检测系统,并大幅减少粒子效果和方块的刻更新逻辑,实现了这一目标。
工作原理
一旦支撑树叶的最后方块被移除,模组将尝试查找所有标记为 #minecraft:leaves 标签的树叶方块,并在它们准备好腐烂时将其移除。
我们支持由 #minecraft:logs 标签构成的任何树木。
为何选择本模组而非其他
- 减少卡顿是主要的差异化优势,高度简化的代码库使其对性能的影响极小。
- 相对开放的许可证
- 无需复杂配置,要么开启,要么关闭
- 原生支持 Forge 和 Fabric
为什么需要 architectury-api?
因为我比较懒,别judge我。我们需要触发并监听一些事件,而使用 architectury 来实现这些要简单得多。此外,现在许多模组都在使用它,因此如果你正在玩整合包或制作整合包,很可能已经包含了该 API!
Accelerated Decay
Leaves go bye-bye
Accelerated Decay is an alternative fast leaf decay concept where instead of actually ticking the leaf blocks rapidly, we just remove them as soon as possible. Our mod implements this logic in the most vanilla possible way by delaying our leave checking logic to allow the game to naturally mark the leaves ready for removal.
One of the goals of Accelerated Delay was reduce the lag on clients & servers. We've achieved this by using a time based checking system and heavily reducing the particals and ticking logic on blocks.
How it works
Once the last block supporting leaves has been removed, the mod will attempt to seek out any leaves marked with the #minecraft:leaves tag and remove them as long as they're ready to be decayed.
We support any tree made up with the #minecraft:logs tag.
Why use yours over others
- Less lag is basically the only differentiating factor and a greatly simplified codebase allow for a very minimal performance impact.
- Relatively Open License
- No complicated configs, it's either on or it's not
- Forge & Fabric support out of the box
Why do you require the architectury-api?
I'm lazy, stop judging me, we fire and listen on some events that it's much simpler to implement with architectury. Also, lots of mods use it now so if you're on a modpack or making a modpack, you likely already have it!
评论 0
登录后参与评分
还没有评论,来抢沙发吧