Class ParsingState<S>

java.lang.Object
net.minecraft.command.argument.packrat.ParsingState<S>
Direct Known Subclasses:
ParsingStateImpl

public abstract class ParsingState<S> extends Object
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/ParsingState
intermediary net/minecraft/class_9393
official bow
  • Field Details

    • packrats

      private final Map<ParsingState.PackratKey<?>,ParsingState.PackratCache<?>> packrats
      Mappings:
      Namespace Name Mixin selector
      named packrats Lnet/minecraft/command/argument/packrat/ParsingState;packrats:Ljava/util/Map;
      intermediary field_49963 Lnet/minecraft/class_9393;field_49963:Ljava/util/Map;
      official a Lbow;a:Ljava/util/Map;
    • rules

      private final ParsingRules<S> rules
      Mappings:
      Namespace Name Mixin selector
      named rules Lnet/minecraft/command/argument/packrat/ParsingState;rules:Lnet/minecraft/command/argument/packrat/ParsingRules;
      intermediary field_49964 Lnet/minecraft/class_9393;field_49964:Lnet/minecraft/class_9389;
      official b Lbow;b:Lbot;
    • errors

      private final ParseErrorList<S> errors
      Mappings:
      Namespace Name Mixin selector
      named errors Lnet/minecraft/command/argument/packrat/ParsingState;errors:Lnet/minecraft/command/argument/packrat/ParseErrorList;
      intermediary field_49965 Lnet/minecraft/class_9393;field_49965:Lnet/minecraft/class_9390;
      official c Lbow;c:Lbou;
  • Constructor Details

    • ParsingState

      protected ParsingState(ParsingRules<S> rules, ParseErrorList<S> errors)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/argument/packrat/ParsingState;<init>(Lnet/minecraft/command/argument/packrat/ParsingRules;Lnet/minecraft/command/argument/packrat/ParseErrorList;)V
      intermediary <init> Lnet/minecraft/class_9393;<init>(Lnet/minecraft/class_9389;Lnet/minecraft/class_9390;)V
      official <init> Lbow;<init>(Lbot;Lbou;)V
  • Method Details

    • getErrors

      public ParseErrorList<S> getErrors()
      Mappings:
      Namespace Name Mixin selector
      named getErrors Lnet/minecraft/command/argument/packrat/ParsingState;getErrors()Lnet/minecraft/command/argument/packrat/ParseErrorList;
      intermediary method_58310 Lnet/minecraft/class_9393;method_58310()Lnet/minecraft/class_9390;
      official a Lbow;a()Lbou;
    • startParsing

      public <T> Optional<T> startParsing(Symbol<T> startSymbol)
      Mappings:
      Namespace Name Mixin selector
      named startParsing Lnet/minecraft/command/argument/packrat/ParsingState;startParsing(Lnet/minecraft/command/argument/packrat/Symbol;)Ljava/util/Optional;
      intermediary method_58312 Lnet/minecraft/class_9393;method_58312(Lnet/minecraft/class_9387;)Ljava/util/Optional;
      official a Lbow;a(Lbor;)Ljava/util/Optional;
    • parse

      public <T> Optional<T> parse(Symbol<T> symbol)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/command/argument/packrat/ParsingState;parse(Lnet/minecraft/command/argument/packrat/Symbol;)Ljava/util/Optional;
      intermediary method_58316 Lnet/minecraft/class_9393;method_58316(Lnet/minecraft/class_9387;)Ljava/util/Optional;
      official b Lbow;b(Lbor;)Ljava/util/Optional;
    • getCache

      Mappings:
      Namespace Name Mixin selector
      named getCache Lnet/minecraft/command/argument/packrat/ParsingState;getCache(Lnet/minecraft/command/argument/packrat/ParsingState$PackratKey;)Lnet/minecraft/command/argument/packrat/ParsingState$PackratCache;
      intermediary method_58313 Lnet/minecraft/class_9393;method_58313(Lnet/minecraft/class_9393$class_9395;)Lnet/minecraft/class_9393$class_9394;
      official a Lbow;a(Lbow$b;)Lbow$a;
    • putCache

      private <T> void putCache(ParsingState.PackratKey<T> key, Optional<T> value)
      Mappings:
      Namespace Name Mixin selector
      named putCache Lnet/minecraft/command/argument/packrat/ParsingState;putCache(Lnet/minecraft/command/argument/packrat/ParsingState$PackratKey;Ljava/util/Optional;)V
      intermediary method_58314 Lnet/minecraft/class_9393;method_58314(Lnet/minecraft/class_9393$class_9395;Ljava/util/Optional;)V
      official a Lbow;a(Lbow$b;Ljava/util/Optional;)V
    • getReader

      public abstract S getReader()
      Mappings:
      Namespace Name Mixin selector
      named getReader Lnet/minecraft/command/argument/packrat/ParsingState;getReader()Ljava/lang/Object;
      intermediary method_58315 Lnet/minecraft/class_9393;method_58315()Ljava/lang/Object;
      official b Lbow;b()Ljava/lang/Object;
    • getCursor

      public abstract int getCursor()
      Mappings:
      Namespace Name Mixin selector
      named getCursor Lnet/minecraft/command/argument/packrat/ParsingState;getCursor()I
      intermediary method_58317 Lnet/minecraft/class_9393;method_58317()I
      official c Lbow;c()I
    • setCursor

      public abstract void setCursor(int cursor)
      Mappings:
      Namespace Name Mixin selector
      named setCursor Lnet/minecraft/command/argument/packrat/ParsingState;setCursor(I)V
      intermediary method_58311 Lnet/minecraft/class_9393;method_58311(I)V
      official a Lbow;a(I)V