WARNING! YOU SHOULD NOT FORK THIS REPOSITORY! Changes done can damage your system! Warning will be removed when its stable enough to run outside of a container!
PocketAI was written with the intention to load Minecraft Pocket/Bedrock/Unified Edition addons in PocketMine-MP servers and adapting the client entity behaviour to server entities.
Addons are behaviour changing "scripts" introduced into the XBL-Edition of the game.
This addon uses an A* (astar) algorithm for performance-friendly, but still quite advanced pathfinding.
You need to download a vanilla Minecraft addon for the current version of the game/server from https://minecraft.net (https://aka.ms/behaviorpacktemplate) or extract it from your game and install it as resource pack on your PocketMine-MP server.
Please look up https://forums.pmmp.net if you don't know how to install resource packs in PocketMine-MP
Install the plugin into the /plugins folder of your server
PocketAI is HIGHLY EXPERIMENTAL - it may crash your server or corrupt your data! Use at your own risk!
(Reason: entities & data saving methods like NBT are not fully backwards-compatible with changes done in PocketMine-MP or Minecraft. Changes may happen at any time.)
- Load the addon
- Add components & component groups (behaviour controllers)
- Add behaviour listeners
- Add automated addon events
- Add event listeners
- Create spawning algorithm
- Implement A* algorithm (3D)
- Pathfinding (Async, path goals, modifiers, avoiders)
- Entity inventories / inventory handling
- All base entities
- Interfaces
- Commands