AI Pathfinder
by barden
With AI Pathfinder, a custom mob, monster or NPC can be given a pathfinding tag and then chase or roam other entities through a datapack.
What it does
Once a base entity is chosen and linked to a custom entity display, adding the pathfinding tag lets it move toward fixed positions in the world or chase other entities. Mapmakers can use this to set up hunting behavior, patrols and guided characters in adventure maps and minigames, without writing mod code.
The AI Pathfinder datapack does the heavy work after the tag is added. It initializes base values for the entity, including movement speed, AI state, jump strength, reach, view range and view cone, and these can be tuned to fit the design. Entities with custom AI can respond to commands. A Mode setting switches the entity between roaming and chasing, and the datapack also provides an API for other datapacks.
The mod runs on the server, so server owners install it and players need nothing extra. Only the server has to run it, while a client may leave it out and still join. Pathfinding is bundled inside the mod as A* Pathfinding. Files are published for Fabric, Forge, NeoForge and Quilt, and the latest builds cover 1.21.2 – 26.3, with snapshot builds also published. The mod is open source under the GNU General Public License v3.0 only.
Key features
Custom pathfinding mobs
Any base entity can be given the pathfinding tag and linked to a custom display, so it moves through the world as an AI character.
Fixed-position and chase movement
An entity can be forced to walk to a fixed position or to chase another entity, which suits guided and hunting scenes.
Adjustable AI values
Movement speed, AI state, jump strength, reach, view range and view cone are set by the datapack and can be changed.
Command-responsive entities
Entities with custom AI respond to commands, so mapmakers can trigger behavior from functions and events.
Roam or chase modes
A mode setting lets an entity roam freely or pursue another entity, depending on the scene.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x10 of 10 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Requirements
Dependencies declared by the latest file for each loader.
Embedded 1
Use cases
Who it’s for: Mapmakers and datapack authors who want custom mobs, monsters or characters with pathfinding behavior, and server owners who run adventure maps or minigames on their servers.
Questions
Does AI Pathfinder need to be installed on the client?
Which loaders can run AI Pathfinder?
How is an entity given pathfinding behavior?
In the catalog
AI Pathfinder is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.
More from barden
Similar mods
What the author says
AI Pathfinder datapack allows you to directly plug smart pathfinding to your custom Mob/Monster/NPC for MapMaking or MiniGame purposes. This datapack does all the heavy lifting of the AI for you — Gone are the days of Retexturing Entities! Once this tag is added, this datapack will initialize some base values for the…
Official listing
- Modrinth page
- modrinth.com/mod/pathfinding
- Owner
- barden
- Published
- 2026-01-31
- Updated on Modrinth
- 2026-09-21
- Facts verified
- 2026-10-15
