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> p_410586_, ComponentPredicateParser.Context<T, C, P> p_335692_) (package private)
ElementLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_409673_, ComponentPredicateParser.Context<T, C, P> p_335797_) (package private)
PredicateLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_409912_, ComponentPredicateParser.Context<T, C, P> p_335572_) (package private)
TagLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_410573_, ComponentPredicateParser.Context<T, C, P> p_335934_) -
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.element
The field for theelement
record component.Term.RepeatedWithSeparator.element
The field for theelement
record component.Methods in net.minecraft.util.parsing.packrat that return NamedRuleModifier and TypeMethodDescriptionTerm.Repeated.element()
Returns the value of theelement
record component.Term.RepeatedWithSeparator.element()
Returns the value of theelement
record component.Dictionary.getOrThrow
(Atom<T> p_410765_) Dictionary.putComplex
(Atom<T> p_410268_, Term<S> p_410760_, Rule.RuleAction<S, T> p_410488_) Methods in net.minecraft.util.parsing.packrat with parameters of type NamedRuleModifier and TypeMethodDescription<T> T
<T> T
<T> T
default <T> Optional
<T> ParseState.parseTopRule
(NamedRule<S, T> p_410574_) static <S,
T> Term <S> static <S,
T> Term <S> static <S,
T> Term <S> Term.repeatedWithoutTrailingSeparator
(NamedRule<S, T> p_409741_, Atom<List<T>> p_410786_, Term<S> p_410595_) static <S,
T> Term <S> Term.repeatedWithoutTrailingSeparator
(NamedRule<S, T> p_410243_, Atom<List<T>> p_410799_, Term<S> p_409788_, int p_410232_) static <S,
T> Term <S> Term.repeatedWithTrailingSeparator
(NamedRule<S, T> p_410572_, Atom<List<T>> p_410697_, Term<S> p_410133_) static <S,
T> Term <S> Term.repeatedWithTrailingSeparator
(NamedRule<S, T> p_410722_, Atom<List<T>> p_410003_, Term<S> p_410085_, int p_409982_) 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.idParser
Grammar.top
The field for thetop
record 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 aGrammar
record class.protected
ResourceLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_410060_, C p_335882_)