net.minecraft.commands.arguments

public class NbtPathArgument

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

fo
net.minecraft.commands.arguments.NbtPathArgument
net.minecraft.class_2203
net.minecraft.command.argument.NbtPathArgumentType
net.minecraft.commands.arguments.ArgumentNBTKey

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static NbtPathArgument
a()
nbtPath()
method_9360()
nbtPath()
public static NbtPathArgument$NbtPath
a(com.mojang.brigadier.context.CommandContext<ew> 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)
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)
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)
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)
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)
public Collection<String>
getExamples()
getExamples()
private static boolean
a(char arg0)
isAllowedInUnquotedName(char arg0)
method_9355(char arg0)
isNameCharacter(char c)
static Predicate<Tag>
a(ux arg0)
createTagPredicate(CompoundTag arg0)
method_9359(class_2487 arg0)
getPredicate(NbtCompound filter)