Package net.minecraft.nbt
Class TextComponentTagVisitor
java.lang.Object
net.minecraft.nbt.TextComponentTagVisitor
- All Implemented Interfaces:
TagVisitor
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static String
private static String
private String
private static it.unimi.dsi.fastutil.bytes.ByteCollection
private static int
private static String
private static String
private static String
private static org.apache.logging.log4j.Logger
private static String
private static String
private Component
private static Pattern
private static String
private static String
private static ChatFormatting
private static ChatFormatting
private static ChatFormatting
private static ChatFormatting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Component
handleEscapePretty(String p_178254_)
void
void
visitByteArray(ByteArrayTag p_178256_)
void
visitCompound(CompoundTag p_178260_)
void
visitDouble(DoubleTag p_178262_)
void
void
visitFloat(FloatTag p_178266_)
void
void
visitIntArray(IntArrayTag p_178268_)
void
void
void
visitLongArray(LongArrayTag p_178274_)
void
visitShort(ShortTag p_178278_)
void
visitString(StringTag p_178280_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
INLINE_LIST_THRESHOLD
private static final int INLINE_LIST_THRESHOLD- See Also:
- Constant Field Values
-
INLINE_ELEMENT_TYPES
private static final it.unimi.dsi.fastutil.bytes.ByteCollection INLINE_ELEMENT_TYPES -
SYNTAX_HIGHLIGHTING_KEY
-
SYNTAX_HIGHLIGHTING_STRING
-
SYNTAX_HIGHLIGHTING_NUMBER
-
SYNTAX_HIGHLIGHTING_NUMBER_TYPE
-
SIMPLE_VALUE
-
NAME_VALUE_SEPARATOR
-
ELEMENT_SEPARATOR
-
LIST_OPEN
- See Also:
- Constant Field Values
-
LIST_CLOSE
- See Also:
- Constant Field Values
-
LIST_TYPE_SEPARATOR
- See Also:
- Constant Field Values
-
ELEMENT_SPACING
- See Also:
- Constant Field Values
-
STRUCT_OPEN
- See Also:
- Constant Field Values
-
STRUCT_CLOSE
- See Also:
- Constant Field Values
-
NEWLINE
- See Also:
- Constant Field Values
-
indentation
-
depth
private final int depth -
result
-
-
Constructor Details
-
TextComponentTagVisitor
-
-
Method Details
-
visit
-
visitString
- Specified by:
visitString
in interfaceTagVisitor
-
visitByte
- Specified by:
visitByte
in interfaceTagVisitor
-
visitShort
- Specified by:
visitShort
in interfaceTagVisitor
-
visitInt
- Specified by:
visitInt
in interfaceTagVisitor
-
visitLong
- Specified by:
visitLong
in interfaceTagVisitor
-
visitFloat
- Specified by:
visitFloat
in interfaceTagVisitor
-
visitDouble
- Specified by:
visitDouble
in interfaceTagVisitor
-
visitByteArray
- Specified by:
visitByteArray
in interfaceTagVisitor
-
visitIntArray
- Specified by:
visitIntArray
in interfaceTagVisitor
-
visitLongArray
- Specified by:
visitLongArray
in interfaceTagVisitor
-
visitList
- Specified by:
visitList
in interfaceTagVisitor
-
visitCompound
- Specified by:
visitCompound
in interfaceTagVisitor
-
handleEscapePretty
-
visitEnd
- Specified by:
visitEnd
in interfaceTagVisitor
-