Sueta
PA

Pathfinding API

1.0

An easy to use Minecraft Pathfinding API that asynchronously uses a 3 dimensional version of the A*

·Plugin

A 3D A* Pathfinding API that takes 2 locations ( start and destination ) and returns the block locations in a list of "Point" containers. There is a max computation time of 5 seconds that limits any super large calculations. Also identifies when there isn't a solution. All of this is done Asynchronously so you're going to have to use a callback function to handle the results. You just have to use my "AfterPath" interface exactly how you would use Callable.

https://github.com/McCrearyD/MCPathfinder is the example repo, (jar found in target folder) use /pathto (x) (y) (z) to test it out.

https://github.com/McCrearyD/MCPath...inder/src/com/dyllansplugins/mcpathfinder/api contains all of the code that you will need for your implementation in another plugin.

Like it? I would appreciate if you star my repo!

Similar projects

Plugin →