Class PackratParsing.ItemParsingRule<T,C,P>

java.lang.Object
net.minecraft.command.argument.packrat.IdentifiableParsingRule<PackratParsing.Callbacks<T,C,P>,T>
net.minecraft.command.argument.packrat.PackratParsing.ItemParsingRule<T,C,P>
All Implemented Interfaces:
IdentifierSuggestable, ParsingRule<com.mojang.brigadier.StringReader,T>, Suggestable<com.mojang.brigadier.StringReader>
Enclosing class:
PackratParsing

private static class PackratParsing.ItemParsingRule<T,C,P> extends IdentifiableParsingRule<PackratParsing.Callbacks<T,C,P>,T>
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/PackratParsing$ItemParsingRule
intermediary net/minecraft/class_9437$class_9440
official hd$c
  • Constructor Details

    • ItemParsingRule

      ItemParsingRule(Symbol<Identifier> symbol, PackratParsing.Callbacks<T,C,P> callbacks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/argument/packrat/PackratParsing$ItemParsingRule;<init>(Lnet/minecraft/command/argument/packrat/Symbol;Lnet/minecraft/command/argument/packrat/PackratParsing$Callbacks;)V
      intermediary <init> Lnet/minecraft/class_9437$class_9440;<init>(Lnet/minecraft/class_9387;Lnet/minecraft/class_9437$class_9439;)V
      official <init> Lhd$c;<init>(Lbor;Lhd$b;)V
  • Method Details

    • parse

      protected T parse(com.mojang.brigadier.ImmutableStringReader reader, Identifier id) throws Exception
      Specified by:
      parse in class IdentifiableParsingRule<PackratParsing.Callbacks<T,C,P>,T>
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/command/argument/packrat/IdentifiableParsingRule;parse(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/util/Identifier;)Ljava/lang/Object;
      intermediary method_58343 Lnet/minecraft/class_9410;method_58343(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2960;)Ljava/lang/Object;
      official a Lbpd;a(Lcom/mojang/brigadier/ImmutableStringReader;Lalz;)Ljava/lang/Object;
    • possibleIds

      public Stream<Identifier> possibleIds()
      Mappings:
      Namespace Name Mixin selector
      named possibleIds Lnet/minecraft/command/argument/packrat/IdentifierSuggestable;possibleIds()Ljava/util/stream/Stream;
      intermediary method_58344 Lnet/minecraft/class_9411;method_58344()Ljava/util/stream/Stream;
      official a Lbpe;a()Ljava/util/stream/Stream;