Uses of Annotation Interface
org.bukkit.Utility
Packages that use 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
Methods in org.bukkit with annotations of type Utility -
Uses of Utility in org.bukkit.inventory
Methods in org.bukkit.inventory with annotations of type UtilityModifier and TypeMethodDescriptionvoid
ItemStack.addEnchantment
(@NotNull Enchantment ench, int level) Adds the specifiedEnchantment
to this item stack.void
ItemStack.addEnchantments
(@NotNull Map<Enchantment, Integer> enchantments) Adds the specified enchantments to this item stack.void
ItemStack.addUnsafeEnchantments
(@NotNull Map<Enchantment, Integer> enchantments) Adds the specified enchantments to this item stack in an unsafe manner.boolean
int
ItemStack.getMaxStackSize()
Get the maximum stack size for this item.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
Deprecated.Setting the material type of ItemStacks is no longer supported.ItemStack.toString()
Constructors in org.bukkit.inventory with annotations of type Utility