PlayerEngine
by Goodbird
PlayerEngine gives custom mobs a player-like body, with an inventory, world interaction and pathfinding, so they can act in the world the way players do.
What it does
Mod authors use PlayerEngine as a server-side framework. A custom entity can be turned into a player-like agent by implementing a few simple interfaces, which attaches the abilities of a player to the mob. The design separates those abilities from the PlayerEntity class, so a mod does not have to reskin a vanilla mob to get them.
The framework is built for AI NPCs and companions. It runs on the client and the server, so both the server and every player need it. Architectury API and Fabric API are required, and files are published for Fabric, Forge and NeoForge for 1.20.1, 1.21 and 1.21.1, under the MIT License as an open source project. Player2 AI NPC is one of the mods that depend on it.
Key features
Player-like inventories
Each agent keeps a persistent inventory, so it can gather resources, craft and manage its tools over time.
Block breaking with items
An agent can interact with the world by breaking blocks and using items and tools, which lets NPCs work the land.
Pathfinding tasks
Movement and task execution are handled by an Automatone engine, a fork of the Baritone pathfinding library.
Custom entity support
Any custom living entity can gain player abilities by implementing a set of interfaces, without changing vanilla mobs.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Required by 1 mod
Use cases
AI companions
Companions that gather resources, craft and follow the player can be built on the framework without a separate player entity.
Custom agents
Modders can give their own NPCs an inventory and world interaction, while the AI brain is supplied by another mod.
Who it’s for: Mod developers building NPCs or AI-driven agents, and server owners who run mods that add such characters.
Questions
Does PlayerEngine need Fabric API?
Does PlayerEngine have to be installed on the server?
Which game versions are supported?
In the catalog
PlayerEngine is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from Goodbird
Similar mods
What the author says
The inspiration for PlayerEngine came from ChatClef, an innovative mod by Player2 that connected an AI to the player's client. While groundbreaking, it had a significant limitation: to have AI companions, one had to run multiple instances of the Minecraft client. This was cumbersome and not scalable. PlayerEngine…
Official listing
- Modrinth page
- modrinth.com/mod/playerengine
- Owner
- Goodbird
- Published
- 2025-10-09
- Updated on Modrinth
- 2026-07-19
- Facts verified
- 2026-10-15
