Package net.minecraft.nbt
Interface INBT
-
- All Known Implementing Classes:
ByteArrayNBT
,ByteNBT
,CollectionNBT
,CompoundNBT
,DoubleNBT
,EndNBT
,FloatNBT
,IntArrayNBT
,IntNBT
,ListNBT
,LongArrayNBT
,LongNBT
,NumberNBT
,ShortNBT
,StringNBT
public interface INBT
-
-
Field Summary
Fields Modifier and Type Field Description static TextFormatting
SYNTAX_HIGHLIGHTING_KEY
static TextFormatting
SYNTAX_HIGHLIGHTING_NUMBER
static TextFormatting
SYNTAX_HIGHLIGHTING_NUMBER_TYPE
static TextFormatting
SYNTAX_HIGHLIGHTING_STRING
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description INBT
copy()
default java.lang.String
getAsString()
byte
getId()
default ITextComponent
getPrettyDisplay()
ITextComponent
getPrettyDisplay(java.lang.String p_199850_1_, int p_199850_2_)
INBTType<?>
getType()
java.lang.String
toString()
void
write(java.io.DataOutput p_74734_1_)
-
-
-
Field Detail
-
SYNTAX_HIGHLIGHTING_KEY
static final TextFormatting SYNTAX_HIGHLIGHTING_KEY
-
SYNTAX_HIGHLIGHTING_STRING
static final TextFormatting SYNTAX_HIGHLIGHTING_STRING
-
SYNTAX_HIGHLIGHTING_NUMBER
static final TextFormatting SYNTAX_HIGHLIGHTING_NUMBER
-
SYNTAX_HIGHLIGHTING_NUMBER_TYPE
static final TextFormatting SYNTAX_HIGHLIGHTING_NUMBER_TYPE
-
-
Method Detail
-
write
void write(java.io.DataOutput p_74734_1_) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getId
byte getId()
-
getType
INBTType<?> getType()
-
copy
INBT copy()
-
getAsString
default java.lang.String getAsString()
-
getPrettyDisplay
default ITextComponent getPrettyDisplay()
-
getPrettyDisplay
ITextComponent getPrettyDisplay(java.lang.String p_199850_1_, int p_199850_2_)
-
-