
This mod is disigned as an API for scripting mods like Minescript.
How to use it
( Minescript Example )
from minescript import echo
# Import the API
PathfinderAPI = JavaClass("gamchu.pathfinder.api.PathfinderAPI")
GoalBlock = JavaClass("gamchu.pathfinder.goals.GoalBlock")
# Get pathfinder instance
pathfinder = PathfinderAPI.getProvider().getPathfinder()
# Create a goal and find a smoothed path
goal = GoalBlock(100, 64, 200)
future = pathfinder.findSmoothedPathAsync(goal)
# Wait for result
result = future.get()
if result.getSuccess():
echo(f"Path found with {result.getPathSize()} waypoints")
else:
echo("No path found")
Checking Pathfinding Status
# Check if pathfinding is currently running
if pathfinder.isPathing():
echo("Pathfinding in progress...")
else:
echo("No pathfinding running")
Cancelling Pathfinding
# Cancel the current pathfinding operation
if pathfinder.isPathing():
pathfinder.cancel()
echo("Pathfinding cancelled")
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- 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 Modrinth — 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.
Verified by MCModsHub
- Ships as ms-extras-1.1.jar — drop this file into the mods folder
- Download size: 49 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.