Class ParsingRules<S>

java.lang.Object
net.minecraft.command.argument.packrat.ParsingRules<S>

public class ParsingRules<S> extends Object
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/ParsingRules
intermediary net/minecraft/class_9389
official bmm
  • Field Details

    • rules

      private final Map<Symbol<?>,ParsingRule<S,?>> rules
      Mappings:
      Namespace Name Mixin selector
      named rules Lnet/minecraft/command/argument/packrat/ParsingRules;rules:Ljava/util/Map;
      intermediary field_49960 Lnet/minecraft/class_9389;field_49960:Ljava/util/Map;
      official a Lbmm;a:Ljava/util/Map;
  • Constructor Details

    • ParsingRules

      public ParsingRules()
  • Method Details

    • set

      public <T> void set(Symbol<T> symbol, ParsingRule<S,T> rule)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/command/argument/packrat/ParsingRules;set(Lnet/minecraft/command/argument/packrat/Symbol;Lnet/minecraft/command/argument/packrat/ParsingRule;)V
      intermediary method_58301 Lnet/minecraft/class_9389;method_58301(Lnet/minecraft/class_9387;Lnet/minecraft/class_9396;)V
      official a Lbmm;a(Lbmk;Lbmq;)V
    • set

      public <T> void set(Symbol<T> symbol, Term<S> term, ParsingRule.RuleAction<S,T> action)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/command/argument/packrat/ParsingRules;set(Lnet/minecraft/command/argument/packrat/Symbol;Lnet/minecraft/command/argument/packrat/Term;Lnet/minecraft/command/argument/packrat/ParsingRule$RuleAction;)V
      intermediary method_58302 Lnet/minecraft/class_9389;method_58302(Lnet/minecraft/class_9387;Lnet/minecraft/class_9402;Lnet/minecraft/class_9396$class_9397;)V
      official a Lbmm;a(Lbmk;Lbmt;Lbmq$a;)V
    • set

      public <T> void set(Symbol<T> symbol, Term<S> term, ParsingRule.StatelessAction<T> action)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/command/argument/packrat/ParsingRules;set(Lnet/minecraft/command/argument/packrat/Symbol;Lnet/minecraft/command/argument/packrat/Term;Lnet/minecraft/command/argument/packrat/ParsingRule$StatelessAction;)V
      intermediary method_58303 Lnet/minecraft/class_9389;method_58303(Lnet/minecraft/class_9387;Lnet/minecraft/class_9402;Lnet/minecraft/class_9396$class_9398;)V
      official a Lbmm;a(Lbmk;Lbmt;Lbmq$b;)V
    • get

      @Nullable public <T> @Nullable ParsingRule<S,T> get(Symbol<T> symbol)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/command/argument/packrat/ParsingRules;get(Lnet/minecraft/command/argument/packrat/Symbol;)Lnet/minecraft/command/argument/packrat/ParsingRule;
      intermediary method_58300 Lnet/minecraft/class_9389;method_58300(Lnet/minecraft/class_9387;)Lnet/minecraft/class_9396;
      official a Lbmm;a(Lbmk;)Lbmq;