Uses of Class
org.bukkit.Utility
Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
-
Uses of Utility in org.bukkit
Methods in org.bukkit with annotations of type Utility Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
Location. serialize()
-
Uses of Utility in org.bukkit.inventory
Methods in org.bukkit.inventory with annotations of type Utility Modifier and Type Method Description void
ItemStack. addEnchantment(Enchantment ench, int level)
Adds the specifiedEnchantment
to this item stack.void
ItemStack. addEnchantments(java.util.Map<Enchantment,java.lang.Integer> enchantments)
Adds the specified enchantments to this item stack.void
ItemStack. addUnsafeEnchantments(java.util.Map<Enchantment,java.lang.Integer> enchantments)
Adds the specified enchantments to this item stack in an unsafe manner.boolean
ItemStack. equals(java.lang.Object obj)
int
ItemStack. getMaxStackSize()
Get the maximum stacksize for the material hold in this ItemStack.Material
ItemStack. getType()
Gets the type of this itemint
ItemStack. hashCode()
boolean
ItemStack. isSimilar(ItemStack stack)
This method is the same as equals, but does not consider stack size (amount).java.util.Map<java.lang.String,java.lang.Object>
ItemStack. serialize()
void
ItemStack. setType(Material type)
Sets the type of this itemjava.lang.String
ItemStack. toString()
Constructors in org.bukkit.inventory with annotations of type Utility Constructor Description ItemStack()