public interface INBT
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
NBT_TYPES |
static TextFormatting |
SYNTAX_HIGHLIGHTING_KEY |
static TextFormatting |
SYNTAX_HIGHLIGHTING_NUMBER |
static TextFormatting |
SYNTAX_HIGHLIGHTING_NUMBER_TYPE |
static TextFormatting |
SYNTAX_HIGHLIGHTING_STRING |
Modifier and Type | Method and Description |
---|---|
INBT |
copy() |
static INBT |
create(byte id) |
byte |
getId() |
default java.lang.String |
getString() |
static java.lang.String |
getTypeName(int id) |
void |
read(java.io.DataInput input,
int depth,
NBTSizeTracker sizeTracker) |
default ITextComponent |
toFormattedComponent() |
ITextComponent |
toFormattedComponent(java.lang.String indentation,
int indentDepth) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput output) |
static final java.lang.String[] NBT_TYPES
static final TextFormatting SYNTAX_HIGHLIGHTING_KEY
static final TextFormatting SYNTAX_HIGHLIGHTING_STRING
static final TextFormatting SYNTAX_HIGHLIGHTING_NUMBER
static final TextFormatting SYNTAX_HIGHLIGHTING_NUMBER_TYPE
void write(java.io.DataOutput output) throws java.io.IOException
java.io.IOException
void read(java.io.DataInput input, int depth, NBTSizeTracker sizeTracker) throws java.io.IOException
java.io.IOException
java.lang.String toString()
toString
in class java.lang.Object
byte getId()
static INBT create(byte id)
static java.lang.String getTypeName(int id)
INBT copy()
default java.lang.String getString()
default ITextComponent toFormattedComponent()
ITextComponent toFormattedComponent(java.lang.String indentation, int indentDepth)