net.minecraft.nbt

public class TextComponentTagVisitor

implements TagVisitor

vu
net.minecraft.nbt.TextComponentTagVisitor
net.minecraft.class_5628
net.minecraft.nbt.visitor.NbtTextFormatter
net.minecraft.src.C_141839_
net.minecraft.nbt.TextComponentTagVisitor

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_27831
LOGGER
f_178229_
private static final int
b
INLINE_LIST_THRESHOLD
field_33271
field_33271
f_178230_
private static final int
c
MAX_DEPTH
field_51497
field_51497
f_316829_
private static final it.unimi.dsi.fastutil.bytes.ByteCollection
d
INLINE_ELEMENT_TYPES
field_27832
SINGLE_LINE_ELEMENT_TYPES
f_178231_
private static final ChatFormatting
e
SYNTAX_HIGHLIGHTING_KEY
field_27833
NAME_COLOR
f_178232_
private static final ChatFormatting
f
SYNTAX_HIGHLIGHTING_STRING
field_27834
STRING_COLOR
f_178233_
private static final ChatFormatting
g
SYNTAX_HIGHLIGHTING_NUMBER
field_27835
NUMBER_COLOR
f_178234_
private static final ChatFormatting
h
SYNTAX_HIGHLIGHTING_NUMBER_TYPE
field_27836
TYPE_SUFFIX_COLOR
f_178235_
private static final Pattern
i
SIMPLE_VALUE
field_27837
SIMPLE_NAME
f_178236_
private static final String
j
NAME_VALUE_SEPARATOR
field_27838
KEY_VALUE_SEPARATOR
f_178237_
private static final String
k
ELEMENT_SEPARATOR
field_27839
ENTRY_SEPARATOR
f_178238_
private static final String
l
LIST_OPEN
field_33272
SQUARE_OPEN_BRACKET
f_178239_
private static final String
m
LIST_CLOSE
field_33273
SQUARE_CLOSE_BRACKET
f_178240_
private static final String
n
LIST_TYPE_SEPARATOR
field_33274
SEMICOLON
f_178241_
private static final String
o
ELEMENT_SPACING
field_33275
SPACE
f_178242_
private static final String
p
STRUCT_OPEN
field_33276
CURLY_OPEN_BRACKET
f_178243_
private static final String
q
STRUCT_CLOSE
field_33277
CURLY_CLOSE_BRACKET
f_178244_
private static final String
r
NEWLINE
field_33278
NEW_LINE
f_178245_
private static final Component
s
TOO_DEEP
field_51498
ELLIPSIS
f_314247_
private final String
t
indentation
field_27840
prefix
f_178246_
private final int
u
indentDepth
field_51499
indentationLevel
f_316357_
private final int
v
depth
field_27841
depth
f_178247_
private Component
w
result
field_27842
result
f_178248_

Constructor summary

ModifierConstructor
public (String prefix)
private (String prefix, int indentationLevel, int depth)

Method summary

Modifier and TypeMethod
public Component
a(vp arg0)
visit(Tag arg0)
method_32305(class_2520 arg0)
apply(NbtElement element)
m_178281_(C_4950_ arg0)
public void
a(vn arg0)
visitString(StringTag arg0)
method_32302(class_2519 arg0)
visitString(NbtString arg0)
m_142614_(C_4948_ arg0)
public void
a(uq arg0)
visitByte(ByteTag arg0)
method_32291(class_2481 arg0)
visitByte(NbtByte arg0)
m_141946_(C_4913_ arg0)
public void
a(vk arg0)
visitShort(ShortTag arg0)
method_32301(class_2516 arg0)
visitShort(NbtShort arg0)
m_142183_(C_4945_ arg0)
public void
a(ux arg0)
visitInt(IntTag arg0)
method_32297(class_2497 arg0)
visitInt(NbtInt arg0)
m_142045_(C_4927_ arg0)
public void
a(va arg0)
visitLong(LongTag arg0)
method_32300(class_2503 arg0)
visitLong(NbtLong arg0)
m_142046_(C_4934_ arg0)
public void
a(uv arg0)
visitFloat(FloatTag arg0)
method_32295(class_2494 arg0)
visitFloat(NbtFloat arg0)
m_142181_(C_4923_ arg0)
public void
a(ut arg0)
visitDouble(DoubleTag arg0)
method_32293(class_2489 arg0)
visitDouble(NbtDouble arg0)
m_142121_(C_4919_ arg0)
public void
a(up arg0)
visitByteArray(ByteArrayTag arg0)
method_32290(class_2479 arg0)
visitByteArray(NbtByteArray arg0)
m_142154_(C_4911_ arg0)
public void
a(uw arg0)
visitIntArray(IntArrayTag arg0)
method_32296(class_2495 arg0)
visitIntArray(NbtIntArray arg0)
m_142251_(C_4925_ arg0)
public void
a(uz arg0)
visitLongArray(LongArrayTag arg0)
method_32299(class_2501 arg0)
visitLongArray(NbtLongArray arg0)
m_142309_(C_4932_ arg0)
public void
a(uy arg0)
visitList(ListTag arg0)
method_32298(class_2499 arg0)
visitList(NbtList arg0)
m_142447_(C_4930_ arg0)
public void
a(us arg0)
visitCompound(CompoundTag arg0)
method_32292(class_2487 arg0)
visitCompound(NbtCompound arg0)
m_142303_(C_4917_ arg0)
private Component
a(vp arg0, boolean arg1)
buildSubTag(Tag arg0, boolean arg1)
method_59850(class_2520 arg0, boolean arg1)
createSubElementText(NbtElement element, boolean indent)
m_322906_(C_4950_ p_331440_, boolean arg1)
protected static Component
a(String arg0)
handleEscapePretty(String arg0)
method_32304(String arg0)
escapeName(String name)
m_178253_(String p_178254_)
public void
a(uu arg0)
visitEnd(EndTag arg0)
method_32294(class_2491 arg0)
visitEnd(NbtEnd arg0)
m_142384_(C_4921_ arg0)