https://www.youtube.com/watch?v=vWXztzqrn5g&t=24s
原标题
New JPS based incremental pathfinder-Prion Infection Mod
原简介
instead of completely remaking the whole path all at
once every tick my pathfinder gets only one node per
tick. also instead of removing all progress when i
update the target position, it only updates the last few
nodes. when the infected are close enough to the
target (2 blocks) they dont even pathfind and go into
direct pursuit instead. also because of the new jump
point based system one node can cover like 16 blocks
of distance and thats what allows me to get only one
node per tick
相比每刻完全重新计算整条路径,我的寻路器每刻只获取一个节点。此外,在更新目标位置时,它不会清除所有已计算的路径进度,而只更新最后几个节点。当感染者距离目标足够近(2格方块)时,它们会完全停止路径计算,转而进入直接追击模式。同时,由于采用了新的基于跳跃点的系统,单个节点即可覆盖约16格方块的距离,这才使得每刻仅处理一个节点的设计成为可能
黄字翻译
寻路速度比原版快25倍,绿色粒子用于显示路径节点
由于目标位置每刻都在更新,它在近距离追击中表现更智能,效果优于原版系统
此外,朊病毒站着不动的bug也被修复:)