net.milkbowl.vault.item
Modifier and Type | Field and Description |
---|---|
org.bukkit.Material |
material |
String |
name |
String[][] |
search |
short |
subTypeId |
Constructor and Description |
---|
ItemInfo(String name,
String[][] search,
org.bukkit.Material material) |
ItemInfo(String name,
String[][] search,
org.bukkit.Material material,
short subTypeId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getId()
Deprecated.
|
String |
getName() |
int |
getStackSize() |
short |
getSubTypeId() |
org.bukkit.Material |
getType() |
int |
hashCode() |
boolean |
isBlock() |
boolean |
isDurable() |
boolean |
isEdible() |
org.bukkit.inventory.ItemStack |
toStack() |
String |
toString() |
public final org.bukkit.Material material
public final short subTypeId
public org.bukkit.Material getType()
public short getSubTypeId()
public int getStackSize()
@Deprecated public int getId()
public boolean isEdible()
public boolean isBlock()
public boolean isDurable()
public org.bukkit.inventory.ItemStack toStack()
Milkbowl, 2014