net.minecraft.nbt

public class TagParser<T>

uv
net.minecraft.nbt.TagParser
net.minecraft.class_2522
net.minecraft.nbt.StringNbtReader

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_TRAILING_DATA
field_11602
TRAILING
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_EXPECTED_KEY
field_11608
EXPECTED_KEY
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_EXPECTED_VALUE
field_11605
EXPECTED_VALUE
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_EXPECTED_COMPOUND
field_56410
field_56410
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
e
ERROR_INSERT_MIXED_ARRAY
field_11597
ARRAY_MIXED
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_INVALID_ARRAY
field_11604
ARRAY_INVALID
public static final char
g
ELEMENT_SEPARATOR
field_33265
COMMA
public static final char
h
NAME_VALUE_SEPARATOR
field_33266
COLON
private static final char
k
LIST_OPEN
field_33267
SQUARE_OPEN_BRACKET
private static final char
l
LIST_CLOSE
field_33268
SQUARE_CLOSE_BRACKET
private static final char
m
STRUCT_CLOSE
field_33269
RIGHT_CURLY_BRACKET
private static final char
n
STRUCT_OPEN
field_33270
LEFT_CURLY_BRACKET
private static final Pattern
o
DOUBLE_PATTERN_NOSUFFIX
field_11607
DOUBLE_PATTERN_IMPLICIT
private static final Pattern
p
DOUBLE_PATTERN
field_11600
DOUBLE_PATTERN
private static final Pattern
q
FLOAT_PATTERN
field_11596
FLOAT_PATTERN
private static final Pattern
r
BYTE_PATTERN
field_11606
BYTE_PATTERN
private static final Pattern
s
LONG_PATTERN
field_11609
LONG_PATTERN
private static final Pattern
t
SHORT_PATTERN
field_11601
SHORT_PATTERN
private static final Pattern
u
INT_PATTERN
field_11599
INT_PATTERN
public static final com.mojang.serialization.Codec<CompoundTag>
i
FLATTENED_CODEC
field_56411
field_56411
public static final com.mojang.serialization.Codec<CompoundTag>
j
LENIENT_CODEC
field_51469
NBT_COMPOUND_CODEC
private final com.mojang.serialization.DynamicOps<T>
v
ops
field_56412
field_56412
private final com.mojang.brigadier.StringReader
w
reader
field_11598
reader

Constructor summary

ModifierConstructor
private (com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)

Method summary

Modifier and TypeMethod
private static CompoundTag
a(com.mojang.brigadier.StringReader arg0, uu arg1)
castToCompoundOrThrow(com.mojang.brigadier.StringReader arg0, Tag arg1)
method_67311(com.mojang.brigadier.StringReader arg0, class_2520 arg1)
method_67311(com.mojang.brigadier.StringReader arg0, NbtElement arg1)
public static CompoundTag
a(String arg0)
parseCompoundFully(String arg0)
method_67315(String arg0)
method_67315(String arg0)
public static <T> T
a(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
parseFully(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
method_67313(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
method_67313(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
public static <T> T
a(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
parseFully(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
method_67312(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
method_67312(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
public static <T> T
b(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
parseAsArgument(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
method_67319(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
method_67319(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.brigadier.StringReader arg1)
public static CompoundTag
a(com.mojang.brigadier.StringReader arg0)
parseCompoundAsArgument(com.mojang.brigadier.StringReader arg0)
method_67310(com.mojang.brigadier.StringReader arg0)
method_67310(com.mojang.brigadier.StringReader arg0)
public static String
b(com.mojang.brigadier.StringReader arg0)
readKey(com.mojang.brigadier.StringReader arg0)
method_10725(com.mojang.brigadier.StringReader arg0)
readString(com.mojang.brigadier.StringReader arg0)
private T
a()
readScalar()
method_67309()
method_67309()
private static Number
b(String arg0)
parseNumber(String arg0)
method_67320(String arg0)
method_67320(String arg0)
private T
c(String arg0)
parseSingleWordValue(String arg0)
method_67321(String arg0)
method_67321(String arg0)
private Number
b()
readNumber()
method_67318()
method_67318()
private T
c()
readValue()
method_10723()
parseElement()
private T
d()
readList()
method_10717()
parseArray()
private T
e()
readStruct()
method_10727()
parseCompound()
private T
f()
readListTag()
method_10729()
parseList()
private T
g()
readArrayTag()
method_10726()
parseElementPrimitiveArray()
private ByteBuffer
h()
readByteArray()
method_67322()
method_67322()
private IntStream
i()
readIntArray()
method_67323()
method_67323()
private LongStream
j()
readLongArray()
method_67324()
method_67324()
private boolean
k()
hasElementSeparator()
method_10716()
readComma()
private void
a(char arg0)
expect(char arg0)
method_10719(char arg0)
expect(char c)