net.minecraft.nbt

public class SnbtPrinterTagVisitor

implements TagVisitor

tg
net.minecraft.nbt.SnbtPrinterTagVisitor
net.minecraft.class_5625
net.minecraft.nbt.visitor.NbtOrderedStringFormatter
net.minecraft.src.C_141836_
net.minecraft.nbt.SnbtPrinterTagVisitor

Field summary

Modifier and TypeField
private static final Map<String, List<String>>
a
KEY_ORDER
field_27820
ENTRY_ORDER_OVERRIDES
f_178088_
private static final Set<String>
b
NO_INDENTATION
field_27821
IGNORED_PATHS
f_178089_
private static final Pattern
c
SIMPLE_VALUE
field_27822
SIMPLE_NAME
f_178090_
private static final String
d
NAME_VALUE_SEPARATOR
field_27823
KEY_VALUE_SEPARATOR
f_178091_
private static final String
e
ELEMENT_SEPARATOR
field_27824
ENTRY_SEPARATOR
f_178092_
private static final String
f
LIST_OPEN
field_33234
SQUARE_OPEN_BRACKET
f_178093_
private static final String
g
LIST_CLOSE
field_33235
SQUARE_CLOSE_BRACKET
f_178094_
private static final String
h
LIST_TYPE_SEPARATOR
field_33236
SEMICOLON
f_178095_
private static final String
i
ELEMENT_SPACING
field_33237
SPACE
f_178096_
private static final String
j
STRUCT_OPEN
field_33238
CURLY_OPEN_BRACKET
f_178097_
private static final String
k
STRUCT_CLOSE
field_33239
CURLY_CLOSE_BRACKET
f_178098_
private static final String
l
NEWLINE
field_33240
NEW_LINE
f_178099_
private final String
m
indentation
field_27825
prefix
f_178100_
private final int
n
depth
field_27826
indentationLevel
f_178101_
private final List<String>
o
path
field_27827
pathParts
f_178102_
private String
p
result
field_27828
result
f_178103_

Constructor summary

ModifierConstructor
public ()
public (String prefix, int indentationLevel, List<String> pathParts)

Method summary

Modifier and TypeMethod
public String
a(tk arg0)
visit(Tag arg0)
method_32283(class_2520 arg0)
apply(NbtElement element)
m_178141_(C_4950_ arg0)
public void
a(ti arg0)
visitString(StringTag arg0)
method_32302(class_2519 arg0)
visitString(NbtString arg0)
m_142614_(C_4948_ arg0)
public void
a(sl arg0)
visitByte(ByteTag arg0)
method_32291(class_2481 arg0)
visitByte(NbtByte arg0)
m_141946_(C_4913_ arg0)
public void
a(tf arg0)
visitShort(ShortTag arg0)
method_32301(class_2516 arg0)
visitShort(NbtShort arg0)
m_142183_(C_4945_ arg0)
public void
a(ss arg0)
visitInt(IntTag arg0)
method_32297(class_2497 arg0)
visitInt(NbtInt arg0)
m_142045_(C_4927_ arg0)
public void
a(sv arg0)
visitLong(LongTag arg0)
method_32300(class_2503 arg0)
visitLong(NbtLong arg0)
m_142046_(C_4934_ arg0)
public void
a(sq arg0)
visitFloat(FloatTag arg0)
method_32295(class_2494 arg0)
visitFloat(NbtFloat arg0)
m_142181_(C_4923_ arg0)
public void
a(so arg0)
visitDouble(DoubleTag arg0)
method_32293(class_2489 arg0)
visitDouble(NbtDouble arg0)
m_142121_(C_4919_ arg0)
public void
a(sk arg0)
visitByteArray(ByteArrayTag arg0)
method_32290(class_2479 arg0)
visitByteArray(NbtByteArray arg0)
m_142154_(C_4911_ arg0)
public void
a(sr arg0)
visitIntArray(IntArrayTag arg0)
method_32296(class_2495 arg0)
visitIntArray(NbtIntArray arg0)
m_142251_(C_4925_ arg0)
public void
a(su arg0)
visitLongArray(LongArrayTag arg0)
method_32299(class_2501 arg0)
visitLongArray(NbtLongArray arg0)
m_142309_(C_4932_ arg0)
public void
a(st arg0)
visitList(ListTag arg0)
method_32298(class_2499 arg0)
visitList(NbtList arg0)
m_142447_(C_4930_ arg0)
public void
a(sn arg0)
visitCompound(CompoundTag arg0)
method_32292(class_2487 arg0)
visitCompound(NbtCompound arg0)
m_142303_(C_4917_ arg0)
private void
b()
popPath()
method_32284()
popPathPart()
m_178143_()
private void
b(String arg0)
pushPath(String arg0)
method_32285(String arg0)
pushPathPart(String part)
m_178144_(String arg0)
protected List<String>
b(sn arg0)
getKeys(CompoundTag arg0)
method_32286(class_2487 arg0)
getSortedNames(NbtCompound compound)
m_178146_(C_4917_ arg0)
public String
a()
pathString()
method_32280()
joinPath()
m_178110_()
protected static String
a(String arg0)
handleEscapePretty(String arg0)
method_32281(String arg0)
escapeName(String name)
m_178111_(String p_178112_)
public void
a(sp arg0)
visitEnd(EndTag arg0)
method_32294(class_2491 arg0)
visitEnd(NbtEnd arg0)
m_142384_(C_4921_ arg0)