Try this code, it worked for me. Tested in 1.7.10 version. Use "==" instead of .equals() to compare Enums. @EventHandler public void...
What do you think it's better, use YAML or SQL to data storage in a bukkit plugin? Like permissions(groups, permissions, timed permissions), user...
I want when a player hold right click in any sword a shield go to their off-hand and when releases the right click the shield will be take off....
*bump*
Just one question, if i set an item.setGravity(false) when i set a Vector it will be constant or it will decelerate gradually? EDIT: I tried in...
Sorry, i forgot it. So I won't get help here if I'm developing in older version or what I do?
1.7 / 1.8
Did you read it right? I want to cancel the gravity, the method setGravity(false) doesn't exists in nowhere.
It isn't a PlayerDropItemEvent, it is p.getWorld().dropItem(p.getLocation(), new ItemStack(Material.PACKED_ICE)); EDIT: And this method doesn't...
setGravity(false) doesn't exists!
I need help, noone can help me?
really?
I need to cancel the gravity from an Item (Dropped Item). Item item = p.getWorld().dropItem(p.getLocation(), new ItemStack(Material.PACKED_ICE));...
@Zombie_Striker Sorry about, but I have to say, it is only for 1.8? I still in bukkit 1.7
Hello! I'm developing a plugin and I'd like to make custom particles to VIP players, like cosmetics (pets, hats, particles and more)....
@Zombie_Striker Yes, I was thinking in it, but I thought that had an easier way to get it. Thanks you to clarify my question.
@SeniorCluckers I don't want remove enchanting, i want to do my own damage and I need to know the power level of the bow. I am making it and i...
Because it is not instant, the player can shot an arrow and after this change his slot, drop the bow or anything else.
@nightwolf111 I found some errors in this code that can bring problems to you: - You are checking an ItemStack in this line: if(itemclicked ==...
@SeniorCluckers If the bow has enchantment? But how i will get the bow? I am checking it in a EntityDamageByEntityEvent and checking if damager...
Separate names with a comma.