net.minecraft.nbt

public class TextComponentTagVisitor

implements TagVisitor

nx
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.apache.logging.log4j.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 it.unimi.dsi.fastutil.bytes.ByteCollection
c
INLINE_ELEMENT_TYPES
field_27832
SINGLE_LINE_ELEMENT_TYPES
f_178231_
private static final ChatFormatting
d
SYNTAX_HIGHLIGHTING_KEY
field_27833
NAME_COLOR
f_178232_
private static final ChatFormatting
e
SYNTAX_HIGHLIGHTING_STRING
field_27834
STRING_COLOR
f_178233_
private static final ChatFormatting
f
SYNTAX_HIGHLIGHTING_NUMBER
field_27835
NUMBER_COLOR
f_178234_
private static final ChatFormatting
g
SYNTAX_HIGHLIGHTING_NUMBER_TYPE
field_27836
TYPE_SUFFIX_COLOR
f_178235_
private static final Pattern
h
SIMPLE_VALUE
field_27837
SIMPLE_NAME
f_178236_
private static final String
i
NAME_VALUE_SEPARATOR
field_27838
KEY_VALUE_SEPARATOR
f_178237_
private static final String
j
ELEMENT_SEPARATOR
field_27839
ENTRY_SEPARATOR
f_178238_
private static final String
k
LIST_OPEN
field_33272
field_33272
f_178239_
private static final String
l
LIST_CLOSE
field_33273
field_33273
f_178240_
private static final String
m
LIST_TYPE_SEPARATOR
field_33274
field_33274
f_178241_
private static final String
n
ELEMENT_SPACING
field_33275
field_33275
f_178242_
private static final String
o
STRUCT_OPEN
field_33276
field_33276
f_178243_
private static final String
p
STRUCT_CLOSE
field_33277
field_33277
f_178244_
private static final String
q
NEWLINE
field_33278
field_33278
f_178245_
private final String
r
indentation
field_27840
prefix
f_178246_
private final int
s
depth
field_27841
indentationLevel
f_178247_
private Component
t
result
field_27842
result
f_178248_

Constructor summary

ModifierConstructor
public (String prefix, int indentationLevel)

Method summary

Modifier and TypeMethod
public Component
a(ns arg0)
visit(Tag arg0)
method_32305(class_2520 arg0)
apply(NbtElement element)
m_178281_(C_4950_ arg0)
public void
a(nq arg0)
visitString(StringTag arg0)
method_32302(class_2519 arg0)
visitString(NbtString arg0)
m_142614_(C_4948_ arg0)
public void
a(my arg0)
visitByte(ByteTag arg0)
method_32291(class_2481 arg0)
visitByte(NbtByte arg0)
m_141946_(C_4913_ arg0)
public void
a(no arg0)
visitShort(ShortTag arg0)
method_32301(class_2516 arg0)
visitShort(NbtShort arg0)
m_142183_(C_4945_ arg0)
public void
a(nf arg0)
visitInt(IntTag arg0)
method_32297(class_2497 arg0)
visitInt(NbtInt arg0)
m_142045_(C_4927_ arg0)
public void
a(ni arg0)
visitLong(LongTag arg0)
method_32300(class_2503 arg0)
visitLong(NbtLong arg0)
m_142046_(C_4934_ arg0)
public void
a(nd arg0)
visitFloat(FloatTag arg0)
method_32295(class_2494 arg0)
visitFloat(NbtFloat arg0)
m_142181_(C_4923_ arg0)
public void
a(nb arg0)
visitDouble(DoubleTag arg0)
method_32293(class_2489 arg0)
visitDouble(NbtDouble arg0)
m_142121_(C_4919_ arg0)
public void
a(mx arg0)
visitByteArray(ByteArrayTag arg0)
method_32290(class_2479 arg0)
visitByteArray(NbtByteArray arg0)
m_142154_(C_4911_ arg0)
public void
a(ne arg0)
visitIntArray(IntArrayTag arg0)
method_32296(class_2495 arg0)
visitIntArray(NbtIntArray arg0)
m_142251_(C_4925_ arg0)
public void
a(nh arg0)
visitLongArray(LongArrayTag arg0)
method_32299(class_2501 arg0)
visitLongArray(NbtLongArray arg0)
m_142309_(C_4932_ arg0)
public void
a(ng arg0)
visitList(ListTag arg0)
method_32298(class_2499 arg0)
visitList(NbtList arg0)
m_142447_(C_4930_ arg0)
public void
a(na arg0)
visitCompound(CompoundTag arg0)
method_32292(class_2487 arg0)
visitCompound(NbtCompound arg0)
m_142303_(C_4917_ arg0)
protected static Component
a(String arg0)
handleEscapePretty(String arg0)
method_32304(String arg0)
escapeName(String name)
m_178253_(String p_178254_)
public void
a(nc arg0)
visitEnd(EndTag arg0)
method_32294(class_2491 arg0)
visitNull(NbtNull arg0)
m_142384_(C_4921_ arg0)