I've put together 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)
(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!
https://github.com/McCrearyD/MCPathfinder is the example repo, (jar found in target folder) use /pathto (x)
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!
Last edited:
