net.minecraft.commands.arguments

public class NbtPathArgument

implements com.mojang.brigadier.arguments.ArgumentType<NbtPathArgument$NbtPath>

ej
net.minecraft.commands.arguments.NbtPathArgument
net.minecraft.class_2203
net.minecraft.command.argument.NbtPathArgumentType
net.minecraft.src.C_3685_
net.minecraft.commands.arguments.ArgumentNBTKey

Field summary

Modifier and TypeField
private static final Collection<String>
d
EXAMPLES
field_9898
EXAMPLES
f_99484_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_INVALID_NODE
field_9900
INVALID_PATH_NODE_EXCEPTION
f_99482_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_DATA_TOO_DEEP
field_41706
TOO_DEEP_EXCEPTION
f_263133_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_NOTHING_FOUND
field_9899
NOTHING_FOUND_EXCEPTION
f_99483_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_EXPECTED_LIST
field_41708
EXPECTED_LIST_EXCEPTION
f_263135_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_INVALID_INDEX
field_41709
INVALID_INDEX_EXCEPTION
f_263128_
private static final char
g
INDEX_MATCH_START
field_32182
LEFT_SQUARE_BRACKET
f_169530_
private static final char
h
INDEX_MATCH_END
field_32183
RIGHT_SQUARE_BRACKET
f_169531_
private static final char
i
KEY_MATCH_START
field_32184
LEFT_CURLY_BRACKET
f_169532_
private static final char
j
KEY_MATCH_END
field_32185
RIGHT_CURLY_BRACKET
f_169533_
private static final char
k
QUOTED_KEY_START
field_32186
DOUBLE_QUOTE
f_169534_
private static final char
l
SINGLE_QUOTED_KEY_START
field_44920
SINGLE_QUOTE
f_287792_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static NbtPathArgument
a()
nbtPath()
method_9360()
nbtPath()
m_99487_()
public static NbtPathArgument$NbtPath
a(com.mojang.brigadier.context.CommandContext<dt> arg0, String arg1)
getPath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9358(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getNbtPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_99498_(com.mojang.brigadier.context.CommandContext<C_2969_> p_99499_, String p_99500_)
public NbtPathArgument$NbtPath
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9362(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
private static NbtPathArgument$Node
a(com.mojang.brigadier.StringReader arg0, boolean arg1)
parseNode(com.mojang.brigadier.StringReader arg0, boolean arg1)
method_9361(com.mojang.brigadier.StringReader arg0, boolean arg1)
parseNode(com.mojang.brigadier.StringReader reader, boolean root)
m_99495_(com.mojang.brigadier.StringReader p_99496_, boolean p_99497_)
private static NbtPathArgument$Node
a(com.mojang.brigadier.StringReader arg0, String arg1)
readObjectNode(com.mojang.brigadier.StringReader arg0, String arg1)
method_9352(com.mojang.brigadier.StringReader arg0, String arg1)
readCompoundChildNode(com.mojang.brigadier.StringReader reader, String name)
m_99492_(com.mojang.brigadier.StringReader p_99493_, String p_99494_)
private static String
b(com.mojang.brigadier.StringReader arg0)
readUnquotedName(com.mojang.brigadier.StringReader arg0)
method_9357(com.mojang.brigadier.StringReader arg0)
readName(com.mojang.brigadier.StringReader reader)
m_99508_(com.mojang.brigadier.StringReader p_99509_)
public Collection<String>
getExamples()
getExamples()
getExamples()
private static boolean
a(char arg0)
isAllowedInUnquotedName(char arg0)
method_9355(char arg0)
isNameCharacter(char c)
m_99488_(char p_99489_)
static Predicate<Tag>
a(qw arg0)
createTagPredicate(CompoundTag arg0)
method_9359(class_2487 arg0)
getPredicate(NbtCompound filter)
m_99510_(C_4917_ p_99511_)