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.
The javadoc is now online!
@XeonG8
That would be possible, cool idea :D Just don't know how you would realize the towers..
Tower defense maps with huge lines of skeletons/mobs walking along a path?
@hoohoo4
Right, at this time there is no way to do this. However, a .unassign() method is planned. Which way would you like to retrieve controlled mobs?
@firebunny36
It should not be that difficult to develop both, but how should I upload them? So there would be 4 files per build: plugin/jre6, plugin/jre7, library/jre6, library/jre7..
Just a quick bit of feedback with regards to the poll on the right. If you were going to make it a standalone plugin you might as well write that as a separate plugin using the library so anyone could download either/both.
@DevCybran
There doesn't seem to be a way to retrieve controlled mobs, or a way to un-control them. I will continue experimenting though.
@hoohoo4: I am glad to hear about that :)
@PlantAssassin: I will have a look whether I find an easy way to compile the API with Java 7 and 6. Also, I created a poll whether I should wrap the API to a plugin, please vote for the way you prefer!
@BlahBerrys: I am currently working on a javadoc for all the API classes.
Im going to be using this a lot for my server :D
Hey, can you compile this with java 6 instead of java 7? I'm building against other jars that were compiled with java 6, so I can't use this.
Would it also be possible to set this up as a plugin that you can require, instead of having to copy the class files into the jar?
I seriously love this API, only wish there was some type of Docs for all the methods and what not!
Updated the API to use with CB 1.4.2 Beta!
The first alpha build is now available for download! Feel free to test it out! Also, I will try to add more and more information to the tutorials in the next time.
Good luck.
didn't think this was possible.
Download?