Uses of Interface
net.minecraft.util.parsing.packrat.NamedRule
Packages that use NamedRule
Package
Description
-
Uses of NamedRule in net.minecraft.commands.arguments.item
Constructors in net.minecraft.commands.arguments.item with parameters of type NamedRuleModifierConstructorDescriptionprivateComponentLookupRule(NamedRule<com.mojang.brigadier.StringReader, Identifier> idParser, ComponentPredicateParser.Context<T, C, P> context) privateElementLookupRule(NamedRule<com.mojang.brigadier.StringReader, Identifier> idParser, ComponentPredicateParser.Context<T, C, P> context) privatePredicateLookupRule(NamedRule<com.mojang.brigadier.StringReader, Identifier> idParser, ComponentPredicateParser.Context<T, C, P> context) privateTagLookupRule(NamedRule<com.mojang.brigadier.StringReader, Identifier> idParser, ComponentPredicateParser.Context<T, C, P> context) -
Uses of NamedRule in net.minecraft.util.parsing.packrat
Classes in net.minecraft.util.parsing.packrat that implement NamedRuleFields in net.minecraft.util.parsing.packrat declared as NamedRuleModifier and TypeFieldDescriptionTerm.Repeated.elementThe field for theelementrecord component.Term.RepeatedWithSeparator.elementThe field for theelementrecord component.Methods in net.minecraft.util.parsing.packrat that return NamedRuleModifier and TypeMethodDescriptionTerm.Repeated.element()Returns the value of theelementrecord component.Term.RepeatedWithSeparator.element()Returns the value of theelementrecord component.Dictionary.getOrThrow(Atom<T> name) Dictionary.putComplex(Atom<T> name, Term<S> term, Rule.RuleAction<S, T> action) Methods in net.minecraft.util.parsing.packrat with parameters of type NamedRuleModifier and TypeMethodDescription<T> @Nullable T<T> @Nullable T<T> @Nullable Tdefault <T> Optional<T> ParseState.parseTopRule(NamedRule<S, T> rule) static <S,T> Term <S> static <S,T> Term <S> static <S,T> Term <S> Term.repeatedWithoutTrailingSeparator(NamedRule<S, T> element, Atom<List<T>> listName, Term<S> separator) static <S,T> Term <S> Term.repeatedWithoutTrailingSeparator(NamedRule<S, T> element, Atom<List<T>> listName, Term<S> separator, int minRepetitions) static <S,T> Term <S> Term.repeatedWithTrailingSeparator(NamedRule<S, T> element, Atom<List<T>> listName, Term<S> separator) static <S,T> Term <S> Term.repeatedWithTrailingSeparator(NamedRule<S, T> element, Atom<List<T>> listName, Term<S> separator, int minRepetitions) Constructors in net.minecraft.util.parsing.packrat with parameters of type NamedRule -
Uses of NamedRule in net.minecraft.util.parsing.packrat.commands
Fields in net.minecraft.util.parsing.packrat.commands declared as NamedRuleModifier and TypeFieldDescriptionprivate final NamedRule<com.mojang.brigadier.StringReader, Identifier> ResourceLookupRule.idParserGrammar.topThe field for thetoprecord component.Methods in net.minecraft.util.parsing.packrat.commands that return NamedRuleConstructors in net.minecraft.util.parsing.packrat.commands with parameters of type NamedRuleModifierConstructorDescriptionGrammar(Dictionary<com.mojang.brigadier.StringReader> rules, NamedRule<com.mojang.brigadier.StringReader, T> top) Creates an instance of aGrammarrecord class.protectedResourceLookupRule(NamedRule<com.mojang.brigadier.StringReader, Identifier> idParser, C context)