Class ResourceLookupRule<C,V>
java.lang.Object
net.minecraft.util.parsing.packrat.commands.ResourceLookupRule<C,V>
- All Implemented Interfaces:
ResourceSuggestion
,Rule<com.mojang.brigadier.StringReader,
,V> SuggestionSupplier<com.mojang.brigadier.StringReader>
- Direct Known Subclasses:
ComponentPredicateParser.ComponentLookupRule
,ComponentPredicateParser.ElementLookupRule
,ComponentPredicateParser.PredicateLookupRule
,ComponentPredicateParser.TagLookupRule
public abstract class ResourceLookupRule<C,V>
extends Object
implements Rule<com.mojang.brigadier.StringReader,V>, ResourceSuggestion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.parsing.packrat.Rule
Rule.RuleAction<S,
T>, Rule.SimpleRuleAction<T>, Rule.WrappedTerm<S, T> -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ResourceLookupRule
(Atom<ResourceLocation> p_330644_, C p_330414_) -
Method Summary
Modifier and TypeMethodDescriptionparse
(ParseState<com.mojang.brigadier.StringReader> p_332578_) protected abstract V
validateElement
(com.mojang.brigadier.ImmutableStringReader p_336199_, ResourceLocation p_330230_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.parsing.packrat.commands.ResourceSuggestion
possibleResources, possibleValues
-
Field Details
-
idParser
-
context
-
-
Constructor Details
-
ResourceLookupRule
-
-
Method Details