it would be possible i think by using the explosion primed event then changing the velocity by multiplying the original vector. this is all a bit...
thank you so much both of the last two methods sound really good and i was just using the lever curcumstance as an example im doing something a...
could you explain what you mean?? and do you have a suggestion on another way i could??
oh no no no im not making th main thread sleep im making the current thread sleep and i understand how threads work… at least i think i do. I...
So in my plugin i need the player to be able to interact but at a slower rate than normal so what I first tried was putting the thread to sleep it...
Ah I'm setting the velocity based on the direction of the player and player.getDirection() is just as ineffective. Fortunately it only looks...
from what I've seen and experienced getLocation.getDirection is extremely inaccurate. I haven't attempted to use trig :P but my guess is it will...
i am having a similar problem with creating shooting an arrow that uses the players direction multiplied by 10 i guess this really exagerates the...
How I'd do it, in theory, is by using the onEntityTargetEvent event. For example: public void onEntityTarget (EntityTargetEvent event){...
Thank you guys so much. This was a huge help i currently don't have it working but I have a good feeling. :]
Thank you very much that was a huge help but will it only fire for right click events or only events that are not right click? Because it seems...
thank you this will help alot
i am currently doing this if it were not for a bug that im trying to squash so bad
im writing a plugin just like this
Heres my code. If anything blatantly wrong appears please tell me. if(!(event.getAction().equals(Action.RIGHT_CLICK_BLOCK) ||...
Separate names with a comma.