public class InventoryItem extends AbstractNBTItem
Constructor and Description |
---|
InventoryItem(org.jnbt.CompoundTag tag) |
InventoryItem(int id,
int damage,
int count,
int slot) |
InventoryItem(java.lang.String id,
int count,
int slot) |
InventoryItem(java.lang.String id,
int damage,
int count,
int slot) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
int |
getDamage() |
int |
getSlot() |
org.jnbt.CompoundTag |
getTag() |
int |
getType() |
void |
setCount(int count) |
void |
setDamage(int damage) |
void |
setId(int id) |
void |
setId(java.lang.String id) |
void |
setSlot(int slot) |
void |
setTag(org.jnbt.CompoundTag tag) |
void |
setType(int type) |
clone, containsTag, containsTag, containsType, forEachTag, getAllTags, getAllTags, getBoolean, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getByte, getByteArray, getByteArray, getDouble, getDouble, getDouble, getDouble, getDoubleList, getDoubleList, getFloat, getFloat, getFloat, getFloat, getFloatList, getFloatList, getInt, getInt, getInt, getInt, getIntArray, getIntArray, getList, getList, getLong, getLong, getLong, getLong, getLongArray, getLongArray, getMap, getMap, getShort, getShort, getShort, getShort, getString, getString, getString, getString, getTag, getTag, removeTag, removeTag, setBoolean, setBoolean, setByte, setByte, setByteArray, setByteArray, setDouble, setDouble, setDoubleList, setDoubleList, setFloat, setFloat, setFloatList, setFloatList, setInt, setInt, setIntArray, setIntArray, setList, setList, setLong, setLong, setLongArray, setLongArray, setMap, setMap, setShort, setShort, setString, setString, setTag, setTag, toMultipleNBT, toNBT, toString
public InventoryItem(int id, int damage, int count, int slot)
public InventoryItem(java.lang.String id, int damage, int count, int slot)
public InventoryItem(java.lang.String id, int count, int slot)
public InventoryItem(org.jnbt.CompoundTag tag)
public final int getCount()
public final void setCount(int count)
public final int getDamage()
public final void setDamage(int damage)
public final int getSlot()
public final void setSlot(int slot)
public final int getType()
public final void setType(int type)
public final void setId(java.lang.String id)
public final void setId(int id)
public final org.jnbt.CompoundTag getTag()
public final void setTag(org.jnbt.CompoundTag tag)