Class PackratParsing.ComponentParsingRule<T,C,P>

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

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

    • ComponentParsingRule

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

    • parse

      protected C parse(com.mojang.brigadier.ImmutableStringReader reader, Identifier id) throws Exception
      Specified by:
      parse in class IdentifiableParsingRule<PackratParsing.Callbacks<T,C,P>,C>
      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 Lbmv;a(Lcom/mojang/brigadier/ImmutableStringReader;Lalf;)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 Lbmw;a()Ljava/util/stream/Stream;