Hello, so I am trying to shade a utility library that is dependent on Bukkit into my Maven project. I have looked around on the Apache website,...
Hello, I'm looking for a way to get the maximum damage value of an ItemStack or Material. For example, there are only 16 variants of a Wool...
What I'm trying to do is remove an item based on a string. Which I have got it working, but if the item has an enchantment it will still not...
desht Awesome thank you. Would there be any way to reverse your method and get an ItemStack based on a String input? For example, if my input...
desht The error occurs in any case where the durability of the itemstack is higher than the max durability of the itemstack for me; as an...
desht [ATTACH] Error occuring at ItemNames class Line 506, which is .build(); Method I am using to return the error: public String...
desht That's amazing haha. What will happen when magic id's are removed though?
I need to parse a string of an ItemStack with a full formatted name of the item: This will also include the colour at the front of the name, e.g:...
Thank you guys.
AoH_Ruthless Thank you! Would this work for splashable potions too as I noticed they generate correctly. If so, what pattern could I attempt...
AdamQpzm When you obtain a potion the correct way such as brewing it, the data value will be correct to such as a wiki would show, therefore...
I have made an instance of the Potion class with my custom item, but it is giving the ItemStack the wrong durability value: [SPOILER] So for...
I am trying to create a column for a player uuid that logs their kills, deaths and joins: I am having trouble with this as it creating a...
Someone_Like_You There is no fromString method in the Material class.
How can I set the material of an itemstack using the config: I've tried using this but I'm getting a NPE: Set<String> kits =...
I am trying to remove entities onDisable() with the following, if I do it with a command it will work fine, but not with this. The problem is that...
metalhedd Thank you!
metalhedd Any update on this?
I'm using this to get the itemstack: ItemStack potion = stack; The 'stack' itemstack is equal to this: ItemStack stack =...
Krotass, that wouldn't work because the amount is varied depending on an argument and the item can be located on any slot on the inventory....
Separate names with a comma.