Eats_Rainbows Sorry for the late reply, This is what you need, and I told you it was Fish :P...
gomeow Well, go test it out ;) Fish resembles the fishing hook
Eats_Rainbows Im pretty sure it is! http://jd.bukkit.org/apidocs/org/bukkit/entity/Projectile.html ;) The fifth option is fish, click on it ;)
If im not wrong, its EntityType.FISH
Well, I tried server things, even asked someone else (Someone on the server I play and knows a bit about java) but we could not fix the problem,...
Frazz86 I removed the if(player.getInventory().getItemInHand().getDurability()==100); But still even with a normal stick, nothing works :(
Thank you. This fixes bug all the bugs! Only, it creates another one... Even with the correct stick (With 100 durability) Nothing happens :(
Hello there! After a lot of time and you guys help, I finally finished my plugin... But... Its full with bugs :( I squashed 3-4 bugs, but these...
drtshock Sure! public void onPlayerInteract(final PlayerInteractEvent event) { final Player player = event.getPlayer();...
How to decrease item durability? I tried various things, but I didn't get it to work :( Its pretty important for my plugin, because it uses...
I don't think you need the code however. I am only asking if there is a way to prevent players from switching items...
Well, I just want to change the lore and item durability of the item in the hand. But if a player switches the item in his inventory, the wrong...
Is there a way to prevent players from switching items? I wrote a code, but if the player switches his item when the event isnt finished,...
Okay, il try this tommorow! Even if it fails, id like to thank you alot for helping me even in the noobiest situations! Thanks again! adam753 It...
adam753 getServer().getScheduler().scheduleSyncDelayedTask(plugin, getServer() is red underlined :( The error is "The method getServer() is...
Separate names with a comma.