Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
/ PocketAI Public archive

Addon compatible AI plugin for PocketMine-MP

License

Notifications You must be signed in to change notification settings

inxomnyaa/PocketAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PocketAI

PocketMine-MP A* Mob-AI plugin with addon support

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.

Setup / usage

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

Disclaimer

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

Progress

  • 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