Package net.minecraft.src
Class NBTBase
- java.lang.Object
-
- net.minecraft.src.NBTBase
-
- Direct Known Subclasses:
NBTTagByte
,NBTTagByteArray
,NBTTagCompound
,NBTTagDouble
,NBTTagEnd
,NBTTagFloat
,NBTTagInt
,NBTTagIntArray
,NBTTagList
,NBTTagLong
,NBTTagShort
,NBTTagString
public abstract class NBTBase extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NBTBase(java.lang.String var1)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract NBTBase
copy()
boolean
equals(java.lang.Object var1)
abstract byte
getId()
java.lang.String
getName()
static java.lang.String
getTagName(byte var0)
int
hashCode()
static NBTBase
newTag(byte var0, java.lang.String var1)
static NBTBase
readNamedTag(java.io.DataInput var0)
NBTBase
setName(java.lang.String var1)
static void
writeNamedTag(NBTBase var0, java.io.DataOutput var1)
-
-
-
Method Detail
-
getId
public abstract byte getId()
-
setName
public NBTBase setName(java.lang.String var1)
-
getName
public java.lang.String getName()
-
readNamedTag
public static NBTBase readNamedTag(java.io.DataInput var0) throws java.io.IOException
- Throws:
java.io.IOException
-
writeNamedTag
public static void writeNamedTag(NBTBase var0, java.io.DataOutput var1) throws java.io.IOException
- Throws:
java.io.IOException
-
newTag
public static NBTBase newTag(byte var0, java.lang.String var1)
-
getTagName
public static java.lang.String getTagName(byte var0)
-
copy
public abstract NBTBase copy()
-
equals
public boolean equals(java.lang.Object var1)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-