| Package | Description | 
|---|---|
| org.bukkit | 
 More generalized classes in the API. 
 | 
| org.bukkit.inventory | 
 Classes involved in manipulating player inventories and item interactions. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
Map<String,Object> | 
Location.serialize() | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
ItemStack.addEnchantment(Enchantment ench,
              int level) | 
 Adds the specified  
Enchantment 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 | 
ItemStack.equals(Object obj) | 
|
int | 
ItemStack.getMaxStackSize() | 
 Get the maximum stacksize for the material hold in this ItemStack. 
 | 
Material | 
ItemStack.getType() | 
 Gets the type of this item 
 | 
int | 
ItemStack.hashCode() | 
|
boolean | 
ItemStack.isSimilar(ItemStack stack) | 
 This method is the same as equals, but does not consider stack size
 (amount). 
 | 
Map<String,Object> | 
ItemStack.serialize() | 
|
void | 
ItemStack.setType(Material type) | 
 Sets the type of this item 
 | 
String | 
ItemStack.toString() | 
| Constructor | Description | 
|---|---|
ItemStack() | 
Copyright © 2020. All rights reserved.