Class ParseResults

java.lang.Object
net.minecraft.command.argument.packrat.ParseResults

public final class ParseResults extends Object
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/ParseResults
intermediary net/minecraft/class_9400
official bml
  • Field Details

    • results

      private final Object2ObjectMap<Symbol<?>,Object> results
      Mappings:
      Namespace Name Mixin selector
      named results Lnet/minecraft/command/argument/packrat/ParseResults;results:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
      intermediary field_49966 Lnet/minecraft/class_9400;field_49966:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
      official a Lbml;a:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
  • Constructor Details

    • ParseResults

      public ParseResults()
  • Method Details

    • put

      public <T> void put(Symbol<T> symbol, @Nullable T value)
      Mappings:
      Namespace Name Mixin selector
      named put Lnet/minecraft/command/argument/packrat/ParseResults;put(Lnet/minecraft/command/argument/packrat/Symbol;Ljava/lang/Object;)V
      intermediary method_58323 Lnet/minecraft/class_9400;method_58323(Lnet/minecraft/class_9387;Ljava/lang/Object;)V
      official a Lbml;a(Lbme;Ljava/lang/Object;)V
    • get

      @Nullable public <T> T get(Symbol<T> symbol)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/command/argument/packrat/ParseResults;get(Lnet/minecraft/command/argument/packrat/Symbol;)Ljava/lang/Object;
      intermediary method_58322 Lnet/minecraft/class_9400;method_58322(Lnet/minecraft/class_9387;)Ljava/lang/Object;
      official a Lbml;a(Lbme;)Ljava/lang/Object;
    • getOrThrow

      public <T> T getOrThrow(Symbol<T> symbol)
      Mappings:
      Namespace Name Mixin selector
      named getOrThrow Lnet/minecraft/command/argument/packrat/ParseResults;getOrThrow(Lnet/minecraft/command/argument/packrat/Symbol;)Ljava/lang/Object;
      intermediary method_58326 Lnet/minecraft/class_9400;method_58326(Lnet/minecraft/class_9387;)Ljava/lang/Object;
      official b Lbml;b(Lbme;)Ljava/lang/Object;
    • getOrDefault

      public <T> T getOrDefault(Symbol<T> symbol, T fallback)
      Mappings:
      Namespace Name Mixin selector
      named getOrDefault Lnet/minecraft/command/argument/packrat/ParseResults;getOrDefault(Lnet/minecraft/command/argument/packrat/Symbol;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_58327 Lnet/minecraft/class_9400;method_58327(Lnet/minecraft/class_9387;Ljava/lang/Object;)Ljava/lang/Object;
      official b Lbml;b(Lbme;Ljava/lang/Object;)Ljava/lang/Object;
    • getAny

      @Nullable @SafeVarargs public final <T> T getAny(Symbol<T>[] symbols)
      Mappings:
      Namespace Name Mixin selector
      named getAny Lnet/minecraft/command/argument/packrat/ParseResults;getAny([Lnet/minecraft/command/argument/packrat/Symbol;)Ljava/lang/Object;
      intermediary method_58325 Lnet/minecraft/class_9400;method_58325([Lnet/minecraft/class_9387;)Ljava/lang/Object;
      official a Lbml;a([Lbme;)Ljava/lang/Object;
    • getAnyOrThrow

      @SafeVarargs public final <T> T getAnyOrThrow(Symbol<T>[] symbols)
      Mappings:
      Namespace Name Mixin selector
      named getAnyOrThrow Lnet/minecraft/command/argument/packrat/ParseResults;getAnyOrThrow([Lnet/minecraft/command/argument/packrat/Symbol;)Ljava/lang/Object;
      intermediary method_58328 Lnet/minecraft/class_9400;method_58328([Lnet/minecraft/class_9387;)Ljava/lang/Object;
      official b Lbml;b([Lbme;)Ljava/lang/Object;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • putAll

      public void putAll(ParseResults results)
      Mappings:
      Namespace Name Mixin selector
      named putAll Lnet/minecraft/command/argument/packrat/ParseResults;putAll(Lnet/minecraft/command/argument/packrat/ParseResults;)V
      intermediary method_58324 Lnet/minecraft/class_9400;method_58324(Lnet/minecraft/class_9400;)V
      official a Lbml;a(Lbml;)V
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/command/argument/packrat/ParseResults;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_9400;equals(Ljava/lang/Object;)Z
      official equals Lbml;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object