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.
How would I go around to having it not target people with the invisibility potion effect with the target nearest
Does it work on 1.7.2 because I take errors and I'm not sure if I'm wrong somewhere or it just doesn't update for 1.7.2.
Thank you (; Nice plugin
I tried to make a Dota-like creep but that didnt work much (I'm not a good programmer).. But still use your plugin to change atributtes and use only some behaviours and not all of them (;
@MRPSDev
want to provide a new one? ;)
But I really think this icon suits the project the best. It is technical and.. uuhh..
Now seriously: bukkitDev just took the first image I uploaded and set it as the project icon, don't know why, and I can't remove it.
@MRPSDev
+1
dat. icon.
@DevCybran
I love you bro.
@sunnydan
Okay guys, I'm going to update it within the next days! But I'm afraid I don't have the time to write extensive tutorials :(
Also, if you have any feature requests, bugs, and so on, please: Open a new ticket! I don't want to go all through the comment section to find out what's needed. By posting just comments you will not help me to keep track of issues and I can't answer to specific questions.
If you're wondering if people like your API enough to request that it be updated to 1.6.4, I do. Also:
Hey, i realy don't know if this is possible but let me briefly explain it. I hate it when wooden doors are blocking zombies and they are knocking and knocking against it. But i don't want them to break them too. My idea is to let the open the door once the event EntityBreakDoor is launched. I already canceled that event, but i cant find a way to open the door now, i cant even get the block id / the block name. I've tried
Is something like this possible?
So the debugs are getting called, the door is not getting destroyed but the door still doesn't open :/ I know you cant open a door with block.setOpen(true), but i cant get the Door door = getBlock(); to work here...
@crameep
That error is not from this plugin >_<
Hm I fixed it.
Can anybody update this API pls and make a better tut, I don't understand DevCybans ....Sry.
Please update!
Can't add the API to Dependencies... Im using Netbeans with a project from Dinnerbones Generator. Can anybody pls help???
Has anyone had luck getting this to work, or updated from the source? I've tried the test plugin and it just gives me a console error
Having a blast with this still btw, hey i've got an error coming up I'm not sure why, again new to this stuff maybe you could help me trouble shoot it.
@wlan222
:P
@jjssman
Why dont you update yourself ? Source Code is available. I did in like half an hour
Can you please update to 1.6.4? The 1.6.2 is giving me exceptions... :/ Thanks in advance!
@UnlikeAny
Thanks, that should work but I was talking about just .target() in general. That should automatically extend it cuz you do .target(Entity, Distance); And I assumed the 'Distance' would be saved.