Uses of Annotation Interface
org.bukkit.Utility
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes involved in manipulating player inventories and item interactions.
-
Uses of Utility in org.bukkit
-
Uses of Utility in org.bukkit.inventory
Modifier and TypeMethodDescriptionvoid
ItemStack.addEnchantment
(Enchantment ench, int level) Adds the specifiedEnchantment
to this item stack.void
ItemStack.addEnchantments
(Map<Enchantment, Integer> enchantments) Adds the specified enchantments to this item stack.void
ItemStack.addUnsafeEnchantments
(Map<Enchantment, Integer> enchantments) Adds the specified enchantments to this item stack in an unsafe manner.boolean
int
ItemStack.getMaxStackSize()
Get the maximum stacksize for the material hold in this ItemStack.ItemStack.getType()
Gets the type of this itemint
ItemStack.hashCode()
boolean
This method is the same as equals, but does not consider stack size (amount).ItemStack.serialize()
void
Sets the type of this itemItemStack.toString()