Package net.minecraft.nbt
Class TextComponentTagVisitor
java.lang.Object
net.minecraft.nbt.TextComponentTagVisitor
- All Implemented Interfaces:
TagVisitor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private static final String
private static final String
private final String
private static final it.unimi.dsi.fastutil.bytes.ByteCollection
private static final int
private static final String
private static final String
private static final String
private static final org.slf4j.Logger
private static final String
private static final String
private Component
private static final Pattern
private static final String
private static final String
private static final ChatFormatting
private static final ChatFormatting
private static final ChatFormatting
private static final 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.slf4j.Logger LOGGER -
INLINE_LIST_THRESHOLD
private static final int INLINE_LIST_THRESHOLD- See Also:
-
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:
-
LIST_CLOSE
- See Also:
-
LIST_TYPE_SEPARATOR
- See Also:
-
ELEMENT_SPACING
- See Also:
-
STRUCT_OPEN
- See Also:
-
STRUCT_CLOSE
- See Also:
-
NEWLINE
- See Also:
-
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
-