public abstract class NBTBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
NBT_TYPES |
Constructor and Description |
---|
NBTBase() |
Modifier and Type | Method and Description |
---|---|
abstract NBTBase |
copy() |
protected static NBTBase |
createNewByType(byte id) |
boolean |
equals(java.lang.Object p_equals_1_) |
abstract byte |
getId() |
protected java.lang.String |
getString() |
static java.lang.String |
getTagTypeName(int p_193581_0_) |
int |
hashCode() |
boolean |
hasNoTags() |
(package private) abstract void |
read(java.io.DataInput input,
int depth,
NBTSizeTracker sizeTracker) |
abstract java.lang.String |
toString() |
(package private) abstract void |
write(java.io.DataOutput output) |
abstract void write(java.io.DataOutput output) throws java.io.IOException
java.io.IOException
abstract void read(java.io.DataInput input, int depth, NBTSizeTracker sizeTracker) throws java.io.IOException
java.io.IOException
public abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract byte getId()
protected static NBTBase createNewByType(byte id)
public static java.lang.String getTagTypeName(int p_193581_0_)
public abstract NBTBase copy()
public boolean hasNoTags()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected java.lang.String getString()