I added e.setCursor(new ItemStack(Material.AIR)); That didn't work.
So I'm trying to cancel InventoryClickEvent when you click on a item with a specific lore. When I shift-click it in the inventory, it duplicates...
It doesn't. I just tried this: ItemStack i = e.getItem(); if(i.getEnchantments().containsKey(Enchantment.DAMAGE_ARTHROPODS)){
In EnchantItemEvent, there's a method called getEnchantsToAdd(). I want to get the enchantment that was just added to the item and check if it...
I know I won't be able to stop the blocking animation, but is there a way to cancel the damage resistance when blocking?
Thank you, this looks like its exactly what I need. I'll mess with it and see if I can make use out of it.
I have 3 String Lists, they all have 4 strings in them. I wanna compare all the lists to each other and find all the strings that are shared, and...
This is what I need to do: When you right-click a block (Cauldron) it finds the chest that is right next to it and gets the itemstack(s) in the...
Does anyone have a code that would remove a item with a certain display name and lore from the player's inventory? I'd also like to be able to set...
I thought it would be possible if the server could find the book somewhere. Thanks for letting me know.
So I have a Inventory Menu set up, and there's a written book with text in it. Is there a way I can have it open up when it is right or...
I haven't had any luck with the negative MetaData, the armor gets removed first hit. And I'd like to not add Unbreaking or any enchantment cause...
I'm trying to make a set of God armor, which is Leather. The problem is it breaks very quickly with a durability value of around 80. I've...
That worked perfectly! Thank you so much!
When I remove the setItemMeta(lam), it gets rid of the color, but adds the Display Name and Lore. I need some way of setting "lam" to the item...
I have this code that's supposed to add a new Leather Chestplate to the player's inventory, that chestplate should have a custom Display Name,...
How would I make a recipe that gives you a custom item (Minecraft item renamed, enchanted, lore, etc) but in that recipe, is another custom item....
I'm looking for a plugin that can automatically change the rank of a player based on how long they've been with the server, NOT by their total...
Nice plugin, I'll probably use it. Could you add when a player registers on a website/forum, they get a permission group? And would this work...
I tried using this plugin, but my world just doesn't load. I see a few blocks, mobs glitching around and lava underground. The server doesn't...
Separate names with a comma.