类 NbtPathArgument
java.lang.Object
net.minecraft.commands.arguments.NbtPathArgument
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<NbtPathArgument.NbtPath>
public class NbtPathArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<NbtPathArgument.NbtPath>
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static class
(专用程序包) static class
(专用程序包) static class
(专用程序包) static class
(专用程序包) static class
(专用程序包) static class
static class
(专用程序包) static interface
-
字段概要
字段修饰符和类型字段说明static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
(专用程序包) static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
(专用程序包) static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final Collection
<String> private static final char
private static final char
private static final char
private static final char
private static final char
private static final char
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createTagPredicate
(CompoundTag p_99511_) static NbtPathArgument.NbtPath
getPath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_99499_, String p_99500_) private static boolean
isAllowedInUnquotedName
(char p_99489_) static NbtPathArgument
nbtPath()
parse
(com.mojang.brigadier.StringReader p_99491_) private static NbtPathArgument.Node
parseNode
(com.mojang.brigadier.StringReader p_99496_, boolean p_99497_) private static NbtPathArgument.Node
readObjectNode
(com.mojang.brigadier.StringReader p_99493_, String p_99494_) private static String
readUnquotedName
(com.mojang.brigadier.StringReader p_99509_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.mojang.brigadier.arguments.ArgumentType
listSuggestions, parse
-
字段详细资料
-
EXAMPLES
-
ERROR_INVALID_NODE
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INVALID_NODE -
ERROR_DATA_TOO_DEEP
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_DATA_TOO_DEEP -
ERROR_NOTHING_FOUND
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_NOTHING_FOUND -
ERROR_EXPECTED_LIST
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_EXPECTED_LIST -
ERROR_INVALID_INDEX
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID_INDEX -
INDEX_MATCH_START
private static final char INDEX_MATCH_START- 另请参阅:
-
INDEX_MATCH_END
private static final char INDEX_MATCH_END- 另请参阅:
-
KEY_MATCH_START
private static final char KEY_MATCH_START- 另请参阅:
-
KEY_MATCH_END
private static final char KEY_MATCH_END- 另请参阅:
-
QUOTED_KEY_START
private static final char QUOTED_KEY_START- 另请参阅:
-
SINGLE_QUOTED_KEY_START
private static final char SINGLE_QUOTED_KEY_START- 另请参阅:
-
-
构造器详细资料
-
NbtPathArgument
public NbtPathArgument()
-
-
方法详细资料
-
nbtPath
-
getPath
public static NbtPathArgument.NbtPath getPath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_99499_, String p_99500_) -
parse
public NbtPathArgument.NbtPath parse(com.mojang.brigadier.StringReader p_99491_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 指定者:
parse
在接口中com.mojang.brigadier.arguments.ArgumentType<NbtPathArgument.NbtPath>
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
parseNode
private static NbtPathArgument.Node parseNode(com.mojang.brigadier.StringReader p_99496_, boolean p_99497_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
readObjectNode
private static NbtPathArgument.Node readObjectNode(com.mojang.brigadier.StringReader p_99493_, String p_99494_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
readUnquotedName
private static String readUnquotedName(com.mojang.brigadier.StringReader p_99509_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- 指定者:
getExamples
在接口中com.mojang.brigadier.arguments.ArgumentType<NbtPathArgument.NbtPath>
-
isAllowedInUnquotedName
private static boolean isAllowedInUnquotedName(char p_99489_) -
createTagPredicate
-