Uses of Interface
net.minecraft.command.argument.packrat.Term
-
Uses of Term in net.minecraft.command.argument.packrat
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
Term.AlwaysTerm<S,
T> static final record
static final record
static final record
static final record
Term.SymbolTerm<S,
T> Modifier and TypeFieldDescriptionParsingRule.SimpleRule.child
The field for thechild
record component.Term.OptionalTerm.term
The field for theterm
record component.Modifier and TypeFieldDescriptionTerm.AnyOfTerm.elements
The field for theelements
record component.Term.SequenceTerm.elements
The field for theelements
record component.Modifier and TypeMethodDescriptionstatic <S,
T> Term <S> static <S> Term
<S> static Term
<com.mojang.brigadier.StringReader> Literals.character
(char c) ParsingRule.SimpleRule.child()
Returns the value of thechild
record component.static <S> Term
<S> Term.cutting()
static <S> Term
<S> Term.epsilon()
static <S> Term
<S> static <S> Term
<S> static Term
<com.mojang.brigadier.StringReader> static <S> Term
<S> Term.OptionalTerm.term()
Returns the value of theterm
record component.Modifier and TypeMethodDescriptionTerm.AnyOfTerm.elements()
Returns the value of theelements
record component.Term.SequenceTerm.elements()
Returns the value of theelements
record component.Modifier and TypeMethodDescriptionstatic <S> Term
<S> static <S,
T> ParsingRule <S, T> ParsingRule.of
(Term<S> term, ParsingRule.RuleAction<S, T> action) static <S,
T> ParsingRule <S, T> ParsingRule.of
(Term<S> term, ParsingRule.StatelessAction<T> action) static <S> Term
<S> static <S> Term
<S> <T> void
<T> void
ParsingRules.set
(Symbol<T> symbol, Term<S> term, ParsingRule.StatelessAction<T> action) ModifierConstructorDescriptionOptionalTerm
(Term<S> term) Creates an instance of aOptionalTerm
record class.SimpleRule
(ParsingRule.RuleAction<S, T> ruleAction, Term<S> term)