Maybe check if (event.getClick() == ClickType.SHIFT_LEFT || event.getClick() == ClickType.SHIFT_RIGHT) and cancel the event if the other...
All I'm looking for is the code that makes the bat flap its wings. I can figure out the rest from there. Example: This makes an iron golem swing...
@dekrosik I'm having the same problem. Where did you find the updated versions of everything? Thank you! Edit: I figured it out. I had...
Alright, I'll try that. Thank you both
I'm trying to make it so players can only have fortune three on a gold pickaxe. I've been able to use the "EnchantItemEvent" to stop fortune picks...
@0ct0berBkkitPlgins Is there a specific tutorial you recommend, or should I search around on google? If the latter is the case, what should I...
How do plugins that interact with websites, like buycraft, work? I'm interested in making my plugins interface with websites, but I don't even...
I tried to make a simple plugin basically to keep track of a player's balance, which is just a double. I can set a get the balance just fine, but...
You can cast a double to an int with int someInt = (int) someDouble; This will set the value of "someInt" to the whole number value of...
I basically want to make an arrow bounce off of something at the same speed it came in at. So I have one vector that is the arrows velocity and I...
@KingFaris11 So I might be doing something wrong... here is my code, I know it's a lot, just focus on the stuff with comments. What I'm trying to...
This is spamming my console and I don't know what it is. Is this a problem.... because it looks like a problem.... if it's a problem how do I fix...
@Petersoj @teej107 Thank you! Actually how would I make it cancel after 'X' number of times, I'm having trouble with this because it requires...
How would I cancel the repeating task after 'X' amount of loops or once a condition is met? Thank you! also sorry if this information is easily...
@Xerox262 Thank you!
Separate names with a comma.