no but there's a EntityDamageEvent
What's that supposed to mean? Also, is this triggering? player.sendMessage("Type : "+ targetblock.getType()); If not, can you show us what...
Create a class for each create (or use an abstract/interface Base Crate class if you want to be organized). In each extending class, have a...
lag
Iterate through sortedSet.descendingIterator() as it is already from GREATEST to LEAST. Afterwards, you can just print the lines and split it...
e.getCurrentItem().getItemMeta().getDisplayName().equals(ChatColor.GRAY + "Go Back") Caused by: java.lang.NullPointerException The item in...
This'll hopefully help you understand what you're doing wrongly. This constructor will repair any item. public void...
Wrote this code for you. Hopefully it helps and offers a decent explanation. import java.util.TreeSet; import org.bukkit.ChatColor; import...
What're your imports using that snippet?
Please show your Main.class I also don't see why you need to hide it xD
Player p = (Player) sender; p= p.getPlayer(); You're declaring a player without a check. In addition, you're executing the command through Console...
The player would have to be EXACTLY at that location for this to trigger (if .equals() works correctly). If that is the case, you should be...
If you can Google the solution, the OP can too. In addition, there's nothing to 'learn' about how to send an Action Bar message without learning...
@EventHandler public void onToggleSneak(PlayerToggleSneakEvent evt) { final Player p = evt.getPlayer(); if(!evt.isSneaking())...
You cannot compare an ItemStack to an ItemStack; their object IDs will always differ. What you need to do is retrieve the player's hand held item...
Separate names with a comma.