Class NBTItem
- java.lang.Object
-
- com.massivecraft.factions.zcore.nbtapi.NBTCompound
-
- com.massivecraft.factions.zcore.nbtapi.NBTItem
-
public class NBTItem extends NBTCompound
-
-
Constructor Summary
Constructors Constructor Description NBTItem(org.bukkit.inventory.ItemStack item)
-
Method Summary
Modifier and Type Method Description static NBTContainer
convertItemtoNBT(org.bukkit.inventory.ItemStack item)
static org.bukkit.inventory.ItemStack
convertNBTtoItem(NBTCompound comp)
protected java.lang.Object
getCompound()
org.bukkit.inventory.ItemStack
getItem()
protected void
setCompound(java.lang.Object compound)
protected void
setItem(org.bukkit.inventory.ItemStack item)
-
Methods inherited from class com.massivecraft.factions.zcore.nbtapi.NBTCompound
addCompound, asNBTString, getBoolean, getByte, getByteArray, getCompound, getContent, getDouble, getFloat, getIntArray, getInteger, getKeys, getList, getLong, getName, getObject, getParent, getShort, getString, getType, hasKey, mergeCompound, removeKey, set, setBoolean, setByte, setByteArray, setDouble, setFloat, setIntArray, setInteger, setLong, setObject, setShort, setString, toString, toString
-
-
-
-
Method Detail
-
convertItemtoNBT
public static NBTContainer convertItemtoNBT(org.bukkit.inventory.ItemStack item)
-
convertNBTtoItem
public static org.bukkit.inventory.ItemStack convertNBTtoItem(NBTCompound comp)
-
getCompound
protected java.lang.Object getCompound()
- Overrides:
getCompound
in classNBTCompound
-
setCompound
protected void setCompound(java.lang.Object compound)
- Overrides:
setCompound
in classNBTCompound
-
getItem
public org.bukkit.inventory.ItemStack getItem()
-
setItem
protected void setItem(org.bukkit.inventory.ItemStack item)
-
-