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
named net/minecraft/command/argument/NbtPathArgumentType
intermediary net/minecraft/class_2203
official fl
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      named EXAMPLES Lnet/minecraft/command/argument/NbtPathArgumentType;EXAMPLES:Ljava/util/Collection;
      intermediary field_9898 Lnet/minecraft/class_2203;field_9898:Ljava/util/Collection;
      official d Lfl;d:Ljava/util/Collection;
    • INVALID_PATH_NODE_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_PATH_NODE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INVALID_PATH_NODE_EXCEPTION Lnet/minecraft/command/argument/NbtPathArgumentType;INVALID_PATH_NODE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_9900 Lnet/minecraft/class_2203;field_9900:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lfl;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TOO_DEEP_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TOO_DEEP_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named TOO_DEEP_EXCEPTION Lnet/minecraft/command/argument/NbtPathArgumentType;TOO_DEEP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_41706 Lnet/minecraft/class_2203;field_41706:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Lfl;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • NOTHING_FOUND_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NOTHING_FOUND_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named NOTHING_FOUND_EXCEPTION Lnet/minecraft/command/argument/NbtPathArgumentType;NOTHING_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_9899 Lnet/minecraft/class_2203;field_9899:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official c Lfl;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • EXPECTED_LIST_EXCEPTION

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType EXPECTED_LIST_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named EXPECTED_LIST_EXCEPTION Lnet/minecraft/command/argument/NbtPathArgumentType;EXPECTED_LIST_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_41708 Lnet/minecraft/class_2203;field_41708:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official e Lfl;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • INVALID_INDEX_EXCEPTION

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_INDEX_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INVALID_INDEX_EXCEPTION Lnet/minecraft/command/argument/NbtPathArgumentType;INVALID_INDEX_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_41709 Lnet/minecraft/class_2203;field_41709:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official f Lfl;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • LEFT_SQUARE_BRACKET

      private static final char LEFT_SQUARE_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LEFT_SQUARE_BRACKET Lnet/minecraft/command/argument/NbtPathArgumentType;LEFT_SQUARE_BRACKET:C
      intermediary field_32182 Lnet/minecraft/class_2203;field_32182:C
      official g Lfl;g:C
    • RIGHT_SQUARE_BRACKET

      private static final char RIGHT_SQUARE_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_SQUARE_BRACKET Lnet/minecraft/command/argument/NbtPathArgumentType;RIGHT_SQUARE_BRACKET:C
      intermediary field_32183 Lnet/minecraft/class_2203;field_32183:C
      official h Lfl;h:C
    • LEFT_CURLY_BRACKET

      private static final char LEFT_CURLY_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LEFT_CURLY_BRACKET Lnet/minecraft/command/argument/NbtPathArgumentType;LEFT_CURLY_BRACKET:C
      intermediary field_32184 Lnet/minecraft/class_2203;field_32184:C
      official i Lfl;i:C
    • RIGHT_CURLY_BRACKET

      private static final char RIGHT_CURLY_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_CURLY_BRACKET Lnet/minecraft/command/argument/NbtPathArgumentType;RIGHT_CURLY_BRACKET:C
      intermediary field_32185 Lnet/minecraft/class_2203;field_32185:C
      official j Lfl;j:C
    • DOUBLE_QUOTE

      private static final char DOUBLE_QUOTE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DOUBLE_QUOTE Lnet/minecraft/command/argument/NbtPathArgumentType;DOUBLE_QUOTE:C
      intermediary field_32186 Lnet/minecraft/class_2203;field_32186:C
      official k Lfl;k:C
    • SINGLE_QUOTE

      private static final char SINGLE_QUOTE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SINGLE_QUOTE Lnet/minecraft/command/argument/NbtPathArgumentType;SINGLE_QUOTE:C
      intermediary field_44920 Lnet/minecraft/class_2203;field_44920:C
      official l Lfl;l:C
  • Constructor Details

    • NbtPathArgumentType

      public NbtPathArgumentType()
  • Method Details

    • nbtPath

      public static NbtPathArgumentType nbtPath()
      Mappings:
      Namespace Name Mixin selector
      named nbtPath Lnet/minecraft/command/argument/NbtPathArgumentType;nbtPath()Lnet/minecraft/command/argument/NbtPathArgumentType;
      intermediary method_9360 Lnet/minecraft/class_2203;method_9360()Lnet/minecraft/class_2203;
      official a Lfl;a()Lfl;
    • getNbtPath

      public static NbtPathArgumentType.NbtPath getNbtPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
      Mappings:
      Namespace Name Mixin selector
      named getNbtPath Lnet/minecraft/command/argument/NbtPathArgumentType;getNbtPath(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
      intermediary method_9358 Lnet/minecraft/class_2203;method_9358(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2203$class_2209;
      official a Lfl;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lfl$g;
    • parse

      public NbtPathArgumentType.NbtPath parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<NbtPathArgumentType.NbtPath>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/command/argument/NbtPathArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
      intermediary method_9362 Lnet/minecraft/class_2203;method_9362(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2203$class_2209;
      official a Lfl;a(Lcom/mojang/brigadier/StringReader;)Lfl$g;
    • 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
      named parseNode Lnet/minecraft/command/argument/NbtPathArgumentType;parseNode(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;
      intermediary method_9361 Lnet/minecraft/class_2203;method_9361(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2203$class_2210;
      official a Lfl;a(Lcom/mojang/brigadier/StringReader;Z)Lfl$h;
    • 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
      named readCompoundChildNode Lnet/minecraft/command/argument/NbtPathArgumentType;readCompoundChildNode(Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;
      intermediary method_9352 Lnet/minecraft/class_2203;method_9352(Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lnet/minecraft/class_2203$class_2210;
      official a Lfl;a(Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lfl$h;
    • 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
      named readName Lnet/minecraft/command/argument/NbtPathArgumentType;readName(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      intermediary method_9357 Lnet/minecraft/class_2203;method_9357(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      official b Lfl;b(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<NbtPathArgumentType.NbtPath>
    • isNameCharacter

      private static boolean isNameCharacter(char c)
      Mappings:
      Namespace Name Mixin selector
      named isNameCharacter Lnet/minecraft/command/argument/NbtPathArgumentType;isNameCharacter(C)Z
      intermediary method_9355 Lnet/minecraft/class_2203;method_9355(C)Z
      official a Lfl;a(C)Z
    • getPredicate

      static Predicate<NbtElement> getPredicate(NbtCompound filter)
      Mappings:
      Namespace Name Mixin selector
      named getPredicate Lnet/minecraft/command/argument/NbtPathArgumentType;getPredicate(Lnet/minecraft/nbt/NbtCompound;)Ljava/util/function/Predicate;
      intermediary method_9359 Lnet/minecraft/class_2203;method_9359(Lnet/minecraft/class_2487;)Ljava/util/function/Predicate;
      official a Lfl;a(Lua;)Ljava/util/function/Predicate;