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.
-
View User Profile
-
Send Message
Posted Dec 9, 2016Can i change mobs ai with this api or do i have to make a plugin which im too lazy to work on...
-
View User Profile
-
Send Message
Posted May 24, 2015@Marco305
It does work
-
View User Profile
-
Send Message
Posted Feb 18, 2015@ZeriyaGaming
Don't give us paradox sentencens. Read your comment again.
-
View User Profile
-
Send Message
Posted Jan 6, 2015@HSIkMy
If you think it in't hard, do it yourself
-
View User Profile
-
Send Message
Posted Nov 4, 2014Do 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.
-
View User Profile
-
Send Message
Posted Oct 31, 2014@LucasRoxMinecraft
This is an API, not a plugin.
-
View User Profile
-
Send Message
Posted Oct 29, 2014Hey umm the links are brken D:
-
View User Profile
-
Send Message
Posted Oct 23, 2014mmm zombie is supported but it doesn't work. nice.
-
View User Profile
-
Send Message
Posted Oct 7, 2014@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/
-
View User Profile
-
Send Message
Posted Oct 2, 2014how do i use this plugin???
-
View User Profile
-
Send Message
Posted Sep 28, 2014Update to 1.7.9-R.03 pls. Actions follow and moveto aren't working, I'm using spigot 1.7.9-R.03
-
View User Profile
-
Send Message
Posted Sep 25, 2014Would be amazing if you could either update to v1_7_R4, or import through reflection! ;)
-
View User Profile
-
Send Message
Posted Aug 20, 2014can u update 1.7.10 ?
-
View User Profile
-
Send Message
Posted Aug 7, 2014I 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.
-
View User Profile
-
Send Message
Posted Jul 12, 2014Uploaded a 1.7.9 build, waiting for the plugin to be approved by Bukkit.
Sincerely.
-
View User Profile
-
Send Message
Posted Jun 3, 2014Will you ever add the ability to break blocks?
-
View User Profile
-
Send Message
Posted May 27, 2014Would 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 :)
-
View User Profile
-
Send Message
Posted May 11, 2014-
View User Profile
-
Send Message
Posted May 2, 2014or maybe you can share the working source with me i would like to help maintenance this project! I am a developer too.
-
View User Profile
-
Send Message
Posted May 2, 2014Can you please update to the latest minecraft version?