Interface Term<S>

All Known Implementing Classes:
Literals.CharLiteral, Literals.StringLiteral, Term.AlwaysTerm, Term.AnyOfTerm, Term.OptionalTerm, Term.SequenceTerm, Term.SymbolTerm

public interface Term<S>
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/Term
intermediary net/minecraft/class_9402
official bms
  • Method Details

    • matches

      boolean matches(ParsingState<S> state, ParseResults results, Cut cut)
      Mappings:
      Namespace Name Mixin selector
      named matches Lnet/minecraft/command/argument/packrat/Term;matches(Lnet/minecraft/command/argument/packrat/ParsingState;Lnet/minecraft/command/argument/packrat/ParseResults;Lnet/minecraft/command/argument/packrat/Cut;)Z
      intermediary method_58334 Lnet/minecraft/class_9402;method_58334(Lnet/minecraft/class_9393;Lnet/minecraft/class_9400;Lnet/minecraft/class_9388;)Z
      official a Lbms;a(Lbmo;Lbmq;Lbmk;)Z
    • symbol

      static <S> Term<S> symbol(Symbol<?> symbol)
      Mappings:
      Namespace Name Mixin selector
      named symbol Lnet/minecraft/command/argument/packrat/Term;symbol(Lnet/minecraft/command/argument/packrat/Symbol;)Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58332 Lnet/minecraft/class_9402;method_58332(Lnet/minecraft/class_9387;)Lnet/minecraft/class_9402;
      official a Lbms;a(Lbmj;)Lbms;
    • always

      static <S, T> Term<S> always(Symbol<T> symbol, T value)
      Mappings:
      Namespace Name Mixin selector
      named always Lnet/minecraft/command/argument/packrat/Term;always(Lnet/minecraft/command/argument/packrat/Symbol;Ljava/lang/Object;)Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58333 Lnet/minecraft/class_9402;method_58333(Lnet/minecraft/class_9387;Ljava/lang/Object;)Lnet/minecraft/class_9402;
      official a Lbms;a(Lbmj;Ljava/lang/Object;)Lbms;
    • sequence

      @SafeVarargs static <S> Term<S> sequence(Term<S>[] terms)
      Mappings:
      Namespace Name Mixin selector
      named sequence Lnet/minecraft/command/argument/packrat/Term;sequence([Lnet/minecraft/command/argument/packrat/Term;)Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58336 Lnet/minecraft/class_9402;method_58336([Lnet/minecraft/class_9402;)Lnet/minecraft/class_9402;
      official a Lbms;a([Lbms;)Lbms;
    • anyOf

      @SafeVarargs static <S> Term<S> anyOf(Term<S>[] terms)
      Mappings:
      Namespace Name Mixin selector
      named anyOf Lnet/minecraft/command/argument/packrat/Term;anyOf([Lnet/minecraft/command/argument/packrat/Term;)Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58338 Lnet/minecraft/class_9402;method_58338([Lnet/minecraft/class_9402;)Lnet/minecraft/class_9402;
      official b Lbms;b([Lbms;)Lbms;
    • optional

      static <S> Term<S> optional(Term<S> term)
      Mappings:
      Namespace Name Mixin selector
      named optional Lnet/minecraft/command/argument/packrat/Term;optional(Lnet/minecraft/command/argument/packrat/Term;)Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58335 Lnet/minecraft/class_9402;method_58335(Lnet/minecraft/class_9402;)Lnet/minecraft/class_9402;
      official a Lbms;a(Lbms;)Lbms;
    • cutting

      static <S> Term<S> cutting()
      Mappings:
      Namespace Name Mixin selector
      named cutting Lnet/minecraft/command/argument/packrat/Term;cutting()Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58331 Lnet/minecraft/class_9402;method_58331()Lnet/minecraft/class_9402;
      official a Lbms;a()Lbms;
    • epsilon

      static <S> Term<S> epsilon()
      Mappings:
      Namespace Name Mixin selector
      named epsilon Lnet/minecraft/command/argument/packrat/Term;epsilon()Lnet/minecraft/command/argument/packrat/Term;
      intermediary method_58337 Lnet/minecraft/class_9402;method_58337()Lnet/minecraft/class_9402;
      official b Lbms;b()Lbms;