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.
the itemstack which you select at random
yes... set the contents to the itemstacks selected
you're just making itemstack objects, you arent putting them in the chest.
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:
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:...
Separate names with a comma.