Constructor and Description |
---|
ItemType(Block block) |
ItemType(ItemStack stack) |
ItemType(Material material) |
ItemType(Material material,
int data) |
ItemType(Material material,
short data) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
short |
getData() |
Material |
getMaterial() |
int |
getMaxDurability() |
int |
getMaxStackSize() |
int |
hashCode() |
ItemType |
setData(byte data) |
ItemType |
setMaterial(Material material) |
ItemStack |
toItemStack() |
ItemStack |
toItemStack(int amount) |
ItemStack |
toMaxItemStack() |
String |
toString() |
public Material getMaterial()
public ItemType setMaterial(Material material)
public short getData()
public int getMaxStackSize()
public int getMaxDurability()
public ItemStack toMaxItemStack()
public ItemStack toItemStack()
public ItemStack toItemStack(int amount)
Copyright © 2012. All Rights Reserved.