Skip to content

Repository files navigation

🐷 MobPlugin 🤖

Mobs like vanilla!

CI bStats Servers bStats Players License


📃 Description

MobPlugin is a plugin for PocketMine-MP that implements mob AI aiming to replicate vanilla Minecraft: Bedrock Edition behavior as closely as possible.

For a full breakdown of what's implemented and what's planned, see the Vanilla Minecraft Feature Tracking issue.

⚠️ Warning: The plugin is still under active development and some features are not yet complete.


⚙️ How It Works

Async Pathfinding

Pathfinding is computed off the main thread using Pathfinder, a custom virion that ports Java Edition's pathfinding logic to PHP. This ensures that even complex mob navigation doesn't cause server lag spikes.

Goal-based Finite State Machine (FSM)

Each mob has a set of goals with priorities — things like attacking, fleeing, wandering, or looking at players. Every tick, the mob evaluates which goals are applicable and runs the highest-priority one, switching seamlessly when conditions change. This mirrors how vanilla Minecraft handles mob AI, producing natural and predictable behavior.


📥 Download

ℹ️ No stable release is available yet. Every commit automatically generates a downloadable nightly build.

Download Nightly

Always up to date · Built from the latest commit


Also available on Poggit CI while the service is still running.


💖 Support the Project

MobPlugin is and will always be free and open-source. If you enjoy the plugin or it helps your server, consider supporting future development — it goes a long way!

Donate

About

Plugin for PocketMine-MP that implements mobs ai

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages