Or you can use this method with a scheduler: https://gist.github.com/JamesNorris/7652207 EDIT: And you can change it to use blocks or whatever.
The point is to avoid that system, it requires updates every few versions, and doesn't provide much access.
It's been in the works for a while, don't know when I will complete it.
schedule a new repeating task, which checks if the condition is true, and if so continues with the code.
This has been replaced by MCPath, you can find it in this resources section. It currently just contains the pathfinding, not the targetting,...
whoa, this should be in the plugin development section, and you should put your code on pastie or pastebin and just post a link.
Utilities classes are typically singletons.
right, just saying its possible
not really, just use this to surround the visible surfaces with textures, then add your own custom behavior.
you could use this to make custom blocks without NMS.
you should make sure the sender is a player before casting, otherwise the console will throw exceptions when called
Well, I only saw the PlayerMoveEvent in his code. Also, PlayerTeleport may be part of PlayerMove (or related to it), since moving is just a lot of...
I believe there is a PlayerInteract method setCancelled(boolean cancel), if so, try: event.setCancelled(true); before you return onPlayerInteract.
Try printing out the location, it may contain a number such as Float.NaN as pitch or yaw, which may be throwing an error.
One of the values in the location may not be a number, which may be an issue.
Condense your fields to: private boolean field1, field2, field3; That should shorten things up a lot. Also, I'm not sure exactly what you're...
I'm just going to do a little plug here, since I believe these will solve both problems:...
MCPath (see below to get it!) GITHUB MCPath allows a path to be created in the MC world using A* pathfinding (hopefully soon fringe...
onPlayerInteract, calculate the path, then start a repeating task running every tick. Each tick tp the mob forward as stated above. When you want...
Just letting you know, I created a lib for it: https://dl.dropboxusercontent.com/u/93352432/MCPath.jar Simply do: new Pathfinder(start,...
Separate names with a comma.