btror / mc-pathfinding

Spigot pathfinding library for Minecraft Plugin Development.
MIT License
6 stars 3 forks source link

dynamic pathfinding functionality #44

Open btror opened 1 year ago

btror commented 1 year ago

When the pathfinding animation is happening and new obstacles/blockers obstruct the already-calculated path, a new path should be generated if possible.

btror commented 1 year ago

To add context, since the path is calculated before the animation (entity spawning) begins the block type of the "maze" area doesn't matter after the animation starts. In other words, if you start a pathfinding animation and put blocks in the way of the path it will just go through them as per the original path calculation.