ModsFinder

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.

FabricForgeNeoForgeQuiltServer required, client optionalGNU General Public License v3.0 onlyOpen source1.21.2 – 26.3

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

  1. 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.

  2. 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.

  3. Adjustable AI values

    Movement speed, AI state, jump strength, reach, view range and view cone are set by the datapack and can be changed.

  4. Command-responsive entities

    Entities with custom AI respond to commands, so mapmakers can trigger behavior from functions and events.

  5. Roam or chase modes

    A mode setting lets an entity roam freely or pursue another entity, depending on the scene.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.31.2+mod1.2+mod1.2+mod1.2+mod
26.21.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
26.1.21.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
26.1.11.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
26.11.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.x10 of 10 versions with builds
1.21.111.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.101.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.91.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.81.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.71.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.61.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.51.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.41.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.31.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
1.21.21.1.1+mod1.1.1+mod1.1.1+mod1.1.1+mod
ReleaseBetaAlphaNot available

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

A* PathfindingMinecraft Pathfinder for Entities
Embedded

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?

No. Only the server has to run it, so players may leave it out and still join.

Which loaders can run AI Pathfinder?

Files are published for Fabric, Forge, NeoForge and Quilt. The datapack form is also available for data pack servers.

How is an entity given pathfinding behavior?

A base entity is chosen first, then linked to a custom entity display, and the pathfinding tag is added. The datapack then initializes its AI values, which can be tuned afterward.

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

All projects

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…
barden, on the Modrinth page

Official listing

Owner
barden
Published
2026-01-31
Updated on Modrinth
2026-09-21
Facts verified
2026-10-15

Tags