Home›Java›Mods›Pathfinding API
ModsJava

Pathfinding API

Java mod listed for Minecraft 1.7–1.12. Download on the author's site.

⬇ Download on Spigot
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!
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Pathfinding API is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 224 times (via Spigot). Download it and open it directly in the game.

Explore more