Controllable Mobs API
Welcome to the API which lets you take full control of (nearly) any entity!
This project has been discontinued!
Features
- order an entity to move or look at specified locations, jump, wait, die, follow or attack custom targets
- fully take control of an entity by planning actions that are added to an action queue
- modify the AI of any entity - remove default behaviors or add custom ones!
- configure custom behaviors with various parameters
- modify an entity's attributes (movement speed, attack damage, ...)
- standalone plugin - just add a dependency and updating will be done in no time.
- Bukkit-friendly API - you don't have to deal with Craftbukkit code or native minecraft server code.
- server-only mod - does not require client modifications
API tutorials
work-in-progress (is not being maintained atm)
- The basics (creating a plugin, spawning entities, creating actions)
API Documentation
- Setting up a plugin with Controllable Mobs API
- Basic steps
- Make entities controllable
- Adjust attributes
- Modifying AI behaviors
- Managing entity actions
- Some examples
API resources
- Latest javadoc
- Javadoc for v5
- Javadoc for v4
- API source code at GitHub
- Test plugin source code at GitHub
Important notes
Got any problems?
- Make sure you are using the correct plugin, matching your Minecraft server's version.
- Search the tickets for an error similar to yours, if it is already existing, do not post a new ticket. Instead, post a comment to the existing ticket.
- If the problem hasn't been reported yet, Open a new ticket. Provide as many information as possible. I won't handle issues posted as comments.
Want new features?
I can always provide more features, as needed! You just have to open a new ticket. Provide as many details as possible. I won't handle feature requests posted as comments.
Can i change mobs ai with this api or do i have to make a plugin which im too lazy to work on...
@Marco305
It does work
@ZeriyaGaming
Don't give us paradox sentencens. Read your comment again.
@HSIkMy
If you think it in't hard, do it yourself
Do you have a plugin that can make you change the mob's AI directly without programming? These plugins won't be hard to make if you have this API.
@LucasRoxMinecraft
This is an API, not a plugin.
Hey umm the links are brken D:
mmm zombie is supported but it doesn't work. nice.
@Marco305
Its working... Just see this page and check if your mob is supported
http://dev.bukkit.org/bukkit-plugins/controllable-mobs-api/pages/api-documentation/make-entities-controllable/
how do i use this plugin???
Update to 1.7.9-R.03 pls. Actions follow and moveto aren't working, I'm using spigot 1.7.9-R.03
Would be amazing if you could either update to v1_7_R4, or import through reflection! ;)
can u update 1.7.10 ?
I did this:
private void spawnZombie(Player owner, Location spawnLocation) { Zombie zombie = spawnLocation.getWorld().spawn(spawnLocation, Zombie.class); ControllableMob<Zombie> controlledEntity = ControllableMobs.putUnderControl(zombie); this.zombieMap.put(owner, controlledEntity); controlledEntity.getActions().moveTo(owner.getLocation()); controlledEntity.getActions().follow(owner); }
iS THAT CODE ADDING ACTIONS TO QUEUE? nOW HOW TO EXECUTE THAT QUEUE TO MAKE ZOMBIE Follow player? Sry caps. Im new.
Uploaded a 1.7.9 build, waiting for the plugin to be approved by Bukkit.
Sincerely.
Will you ever add the ability to break blocks?
Would someone be willing to share a working version of this for the Craftbukkit 1.7.9 beta build? Without the PluginClassLoader and anything else that needed to be done?
It's so big and Im realy confused what to do with it..
If so you can send a PM thanks :)
or maybe you can share the working source with me i would like to help maintenance this project! I am a developer too.
Can you please update to the latest minecraft version?