ModsJava
Pathfinding API
Java mod listed for Minecraft 1.7–1.12. Download on the author's site.
⬇ Download on SpigotA 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)
(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
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.