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 NamedRuleModifierConstructorDescription(package private)ComponentLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)ElementLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)PredicateLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)TagLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) -
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> pName) Dictionary.putComplex(Atom<T> pName, Term<S> pTerm, Rule.RuleAction<S, T> pRuleAction) Methods in net.minecraft.util.parsing.packrat with parameters of type NamedRuleModifier and TypeMethodDescription<T> T<T> T<T> Tdefault <T> Optional<T> ParseState.parseTopRule(NamedRule<S, T> pRule) static <S,T> Term <S> static <S,T> Term <S> static <S,T> Term <S> Term.repeatedWithoutTrailingSeparator(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator) static <S,T> Term <S> Term.repeatedWithoutTrailingSeparator(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator, int pMinRepetitions) static <S,T> Term <S> Term.repeatedWithTrailingSeparator(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator) static <S,T> Term <S> Term.repeatedWithTrailingSeparator(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator, int pMinRepetitions) 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, ResourceLocation> 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, ResourceLocation> pIdParser, C pContext)