Package net.minecraft.command.argument
Class NbtPathArgumentType
java.lang.Object
net.minecraft.command.argument.NbtPathArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NbtPathArgumentType.NbtPath>
public class NbtPathArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<NbtPathArgumentType.NbtPath>
- Mappings:
Namespace Name official eb
intermediary net/minecraft/class_2203
named net/minecraft/command/argument/NbtPathArgumentType
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
private static class
private static class
private static class
static class
private static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection<String>
private static final char
private static final char
private static final char
private static final char
private static final char
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NbtPathArgumentType.NbtPath
getNbtPath
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static Predicate<NbtElement>
getPredicate
(NbtCompound filter) private static boolean
isNameCharacter
(char c) static NbtPathArgumentType
nbtPath()
parse
(com.mojang.brigadier.StringReader stringReader) private static NbtPathArgumentType.PathNode
parseNode
(com.mojang.brigadier.StringReader reader, boolean root) private static NbtPathArgumentType.PathNode
readCompoundChildNode
(com.mojang.brigadier.StringReader reader, String name) private static String
readName
(com.mojang.brigadier.StringReader reader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official c
Leb;c:Ljava/util/Collection;
intermediary field_9898
Lnet/minecraft/class_2203;field_9898:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/NbtPathArgumentType;EXAMPLES:Ljava/util/Collection;
-
INVALID_PATH_NODE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_PATH_NODE_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Leb;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_9900
Lnet/minecraft/class_2203;field_9900:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INVALID_PATH_NODE_EXCEPTION
Lnet/minecraft/command/argument/NbtPathArgumentType;INVALID_PATH_NODE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
NOTHING_FOUND_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NOTHING_FOUND_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Leb;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9899
Lnet/minecraft/class_2203;field_9899:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named NOTHING_FOUND_EXCEPTION
Lnet/minecraft/command/argument/NbtPathArgumentType;NOTHING_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
field_32182
private static final char field_32182- See Also:
- Mappings:
Namespace Name Mixin selector official d
Leb;d:C
intermediary field_32182
Lnet/minecraft/class_2203;field_32182:C
named field_32182
Lnet/minecraft/command/argument/NbtPathArgumentType;field_32182:C
-
field_32183
private static final char field_32183- See Also:
- Mappings:
Namespace Name Mixin selector official e
Leb;e:C
intermediary field_32183
Lnet/minecraft/class_2203;field_32183:C
named field_32183
Lnet/minecraft/command/argument/NbtPathArgumentType;field_32183:C
-
field_32184
private static final char field_32184- See Also:
- Mappings:
Namespace Name Mixin selector official f
Leb;f:C
intermediary field_32184
Lnet/minecraft/class_2203;field_32184:C
named field_32184
Lnet/minecraft/command/argument/NbtPathArgumentType;field_32184:C
-
field_32185
private static final char field_32185- See Also:
- Mappings:
Namespace Name Mixin selector official g
Leb;g:C
intermediary field_32185
Lnet/minecraft/class_2203;field_32185:C
named field_32185
Lnet/minecraft/command/argument/NbtPathArgumentType;field_32185:C
-
field_32186
private static final char field_32186- See Also:
- Mappings:
Namespace Name Mixin selector official h
Leb;h:C
intermediary field_32186
Lnet/minecraft/class_2203;field_32186:C
named field_32186
Lnet/minecraft/command/argument/NbtPathArgumentType;field_32186:C
-
-
Constructor Details
-
NbtPathArgumentType
public NbtPathArgumentType()
-
-
Method Details
-
nbtPath
- Mappings:
Namespace Name Mixin selector official a
Leb;a()Leb;
intermediary method_9360
Lnet/minecraft/class_2203;method_9360()Lnet/minecraft/class_2203;
named nbtPath
Lnet/minecraft/command/argument/NbtPathArgumentType;nbtPath()Lnet/minecraft/command/argument/NbtPathArgumentType;
-
getNbtPath
public static NbtPathArgumentType.NbtPath getNbtPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector official a
Leb;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Leb$g;
intermediary method_9358
Lnet/minecraft/class_2203;method_9358(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2203$class_2209;
named getNbtPath
Lnet/minecraft/command/argument/NbtPathArgumentType;getNbtPath(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
-
parse
public NbtPathArgumentType.NbtPath parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<NbtPathArgumentType.NbtPath>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Leb;a(Lcom/mojang/brigadier/StringReader;)Leb$g;
intermediary method_9362
Lnet/minecraft/class_2203;method_9362(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2203$class_2209;
named parse
Lnet/minecraft/command/argument/NbtPathArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
-
parseNode
private static NbtPathArgumentType.PathNode parseNode(com.mojang.brigadier.StringReader reader, boolean root) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Leb;a(Lcom/mojang/brigadier/StringReader;Z)Leb$h;
intermediary method_9361
Lnet/minecraft/class_2203;method_9361(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2203$class_2210;
named parseNode
Lnet/minecraft/command/argument/NbtPathArgumentType;parseNode(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;
-
readCompoundChildNode
private static NbtPathArgumentType.PathNode readCompoundChildNode(com.mojang.brigadier.StringReader reader, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Leb;a(Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Leb$h;
intermediary method_9352
Lnet/minecraft/class_2203;method_9352(Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lnet/minecraft/class_2203$class_2210;
named readCompoundChildNode
Lnet/minecraft/command/argument/NbtPathArgumentType;readCompoundChildNode(Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;
-
readName
private static String readName(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Leb;b(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
intermediary method_9357
Lnet/minecraft/class_2203;method_9357(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
named readName
Lnet/minecraft/command/argument/NbtPathArgumentType;readName(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<NbtPathArgumentType.NbtPath>
-
isNameCharacter
private static boolean isNameCharacter(char c) - Mappings:
Namespace Name Mixin selector official a
Leb;a(C)Z
intermediary method_9355
Lnet/minecraft/class_2203;method_9355(C)Z
named isNameCharacter
Lnet/minecraft/command/argument/NbtPathArgumentType;isNameCharacter(C)Z
-
getPredicate
- Mappings:
Namespace Name Mixin selector official a
Leb;a(Lna;)Ljava/util/function/Predicate;
intermediary method_9359
Lnet/minecraft/class_2203;method_9359(Lnet/minecraft/class_2487;)Ljava/util/function/Predicate;
named getPredicate
Lnet/minecraft/command/argument/NbtPathArgumentType;getPredicate(Lnet/minecraft/nbt/NbtCompound;)Ljava/util/function/Predicate;
-