Which entities can have nametags? Because maybe you could use item entities (that don't decay?). A silverfish would make annoying noises I guess..
This code will not work very well. There could be a zombie next to a skeleton and it would not attack it because the block where the skeleton is...
Maybe you could try a repeating task instead of a timer?
You can post here but you can't visit the api docs? This seems a little bit odd to me...
Show some code. This IS working. You probably just don't know how to use it! ...
What has been posted in this post does work for sure. You must be doing something wrong. Please show some code.
kreashenz you probably could do that but canceling the event and throwing a snowball yourself would be much easier I think.
I think canceling the event would be better. I did this (re-adding the item) once and it didn't always work. sometimes if you throw too many...
Hi, You can use: EnchantmentStorageMeta meta = (EnchantmentStorageMeta)book.getItemMeta();...
Just believe me... If you set the item in this slot to null than the item is removed from the inventory. If it isn't than use...
You have to set the item in this inventory slot to null. (maybe you have to use player.updateInventory() afterwards)
I already gave you the answer to that...
You quoted my post and set your code under this. What do you want to say?
What about event.getPlayer().playEffect() or event.getPlayer().playSound() ?
Hi, Look at sethblings preview video: [media] It'll be possible in 1.5.
Well the SignChangeEvent provides you with the sign block. You can use event.getBlock().getRelative() to check the type of the blocks relative to...
Hi, In my onEnable Method I register a sync repeating task: private HashMap<Location, Integer> saplingList = new HashMap<Location,...
You have to use the PlayerInteractEntityEvent.
Try player.updateInventory() after setting the item in hand to null. Does this help?
Replace e.getPlayer().setItemInHand(item); with e.getPlayer().setItemInHand(null);
Separate names with a comma.