Class ItemPredicateReader

java.lang.Object
net.minecraft.command.argument.ItemPredicateReader

public class ItemPredicateReader extends Object
Mappings:
Namespace Name
official gh
intermediary net/minecraft/class_9216
named net/minecraft/command/argument/ItemPredicateReader
  • Field Details

    • INVALID_ID_EXCEPTION

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_ID_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official f Lgh;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_48963 Lnet/minecraft/class_9216;field_48963:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named INVALID_ID_EXCEPTION Lnet/minecraft/command/argument/ItemPredicateReader;INVALID_ID_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • INVALID_TAG_EXCEPTION

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_TAG_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official g Lgh;g:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_48964 Lnet/minecraft/class_9216;field_48964:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named INVALID_TAG_EXCEPTION Lnet/minecraft/command/argument/ItemPredicateReader;INVALID_TAG_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • UNKNOWN_COMPONENT_EXCEPTION

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_COMPONENT_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official h Lgh;h:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_49577 Lnet/minecraft/class_9216;field_49577:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named UNKNOWN_COMPONENT_EXCEPTION Lnet/minecraft/command/argument/ItemPredicateReader;UNKNOWN_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • MALFORMED_COMPONENT_EXCEPTION

      static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType MALFORMED_COMPONENT_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official i Lgh;i:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_49578 Lnet/minecraft/class_9216;field_49578:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named MALFORMED_COMPONENT_EXCEPTION Lnet/minecraft/command/argument/ItemPredicateReader;MALFORMED_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
    • EXPECTED_ITEM_COMPONENT_EXCEPTION

      static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EXPECTED_ITEM_COMPONENT_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official j Lgh;j:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_49579 Lnet/minecraft/class_9216;field_49579:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named EXPECTED_ITEM_COMPONENT_EXCEPTION Lnet/minecraft/command/argument/ItemPredicateReader;EXPECTED_ITEM_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • field_49771

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_49771
      Mappings:
      Namespace Name Mixin selector
      official k Lgh;k:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_49771 Lnet/minecraft/class_9216;field_49771:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_49771 Lnet/minecraft/command/argument/ItemPredicateReader;field_49771:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • HASH

      private static final char HASH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lgh;l:C
      intermediary field_48965 Lnet/minecraft/class_9216;field_48965:C
      named HASH Lnet/minecraft/command/argument/ItemPredicateReader;HASH:C
    • SQUARE_OPEN_BRACKET

      public static final char SQUARE_OPEN_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lgh;a:C
      intermediary field_49573 Lnet/minecraft/class_9216;field_49573:C
      named SQUARE_OPEN_BRACKET Lnet/minecraft/command/argument/ItemPredicateReader;SQUARE_OPEN_BRACKET:C
    • SQUARE_CLOSED_BRACKET

      public static final char SQUARE_CLOSED_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lgh;b:C
      intermediary field_49574 Lnet/minecraft/class_9216;field_49574:C
      named SQUARE_CLOSED_BRACKET Lnet/minecraft/command/argument/ItemPredicateReader;SQUARE_CLOSED_BRACKET:C
    • COMMA

      public static final char COMMA
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lgh;c:C
      intermediary field_49575 Lnet/minecraft/class_9216;field_49575:C
      named COMMA Lnet/minecraft/command/argument/ItemPredicateReader;COMMA:C
    • EQUAL_SIGN

      public static final char EQUAL_SIGN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lgh;d:C
      intermediary field_49576 Lnet/minecraft/class_9216;field_49576:C
      named EQUAL_SIGN Lnet/minecraft/command/argument/ItemPredicateReader;EQUAL_SIGN:C
    • CURLY_OPEN_BRACKET

      public static final char CURLY_OPEN_BRACKET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lgh;e:C
      intermediary field_48966 Lnet/minecraft/class_9216;field_48966:C
      named CURLY_OPEN_BRACKET Lnet/minecraft/command/argument/ItemPredicateReader;CURLY_OPEN_BRACKET:C
    • DEFAULT_SUGGESTOR

      static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> DEFAULT_SUGGESTOR
      Mappings:
      Namespace Name Mixin selector
      official m Lgh;m:Ljava/util/function/Function;
      intermediary field_48967 Lnet/minecraft/class_9216;field_48967:Ljava/util/function/Function;
      named DEFAULT_SUGGESTOR Lnet/minecraft/command/argument/ItemPredicateReader;DEFAULT_SUGGESTOR:Ljava/util/function/Function;
    • itemRegistry

      final RegistryWrapper.Impl<Item> itemRegistry
      Mappings:
      Namespace Name Mixin selector
      official n Lgh;n:Lip$b;
      intermediary field_48968 Lnet/minecraft/class_9216;field_48968:Lnet/minecraft/class_7225$class_7226;
      named itemRegistry Lnet/minecraft/command/argument/ItemPredicateReader;itemRegistry:Lnet/minecraft/registry/RegistryWrapper$Impl;
    • nbtOps

      final com.mojang.serialization.DynamicOps<NbtElement> nbtOps
      Mappings:
      Namespace Name Mixin selector
      official o Lgh;o:Lcom/mojang/serialization/DynamicOps;
      intermediary field_49580 Lnet/minecraft/class_9216;field_49580:Lcom/mojang/serialization/DynamicOps;
      named nbtOps Lnet/minecraft/command/argument/ItemPredicateReader;nbtOps:Lcom/mojang/serialization/DynamicOps;
    • allowTags

      final boolean allowTags
      Mappings:
      Namespace Name Mixin selector
      official p Lgh;p:Z
      intermediary field_48969 Lnet/minecraft/class_9216;field_48969:Z
      named allowTags Lnet/minecraft/command/argument/ItemPredicateReader;allowTags:Z
  • Constructor Details

    • ItemPredicateReader

      public ItemPredicateReader(RegistryWrapper.WrapperLookup registryLookup, boolean allowTags)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgh;<init>(Lip$a;Z)V
      intermediary <init> Lnet/minecraft/class_9216;<init>(Lnet/minecraft/class_7225$class_7874;Z)V
      named <init> Lnet/minecraft/command/argument/ItemPredicateReader;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Z)V
  • Method Details

    • read

      public void read(com.mojang.brigadier.StringReader reader, ItemPredicateReader.Callbacks callbacks) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lgh;a(Lcom/mojang/brigadier/StringReader;Lgh$c;)V
      intermediary method_56865 Lnet/minecraft/class_9216;method_56865(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_9216$class_9219;)V
      named read Lnet/minecraft/command/argument/ItemPredicateReader;read(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/command/argument/ItemPredicateReader$Callbacks;)V
    • getSuggestions

      public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Lgh;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_56866 Lnet/minecraft/class_9216;method_56866(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      named getSuggestions Lnet/minecraft/command/argument/ItemPredicateReader;getSuggestions(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;