public class ItemData extends Object
Constructor and Description |
---|
ItemData(Item item,
ModContainer mc) |
ItemData(NBTTagCompound tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getItemId() |
String |
getItemType() |
String |
getModId() |
int |
getOrdinal() |
int |
hashCode() |
boolean |
isOveridden() |
boolean |
mayDifferByOrdinal(ItemData rightValue) |
void |
setName(String name,
String modId) |
NBTTagCompound |
toNBT() |
String |
toString() |
public ItemData(Item item, ModContainer mc)
public ItemData(NBTTagCompound tag)
public String getItemType()
public String getModId()
public int getOrdinal()
public int getItemId()
public NBTTagCompound toNBT()
public boolean mayDifferByOrdinal(ItemData rightValue)
public boolean isOveridden()