类 ComponentPredicateParser.PredicateLookupRule<T,C,P>
java.lang.Object
net.minecraft.util.parsing.packrat.commands.ResourceLookupRule<ComponentPredicateParser.Context<T,C,P>,P>
net.minecraft.commands.arguments.item.ComponentPredicateParser.PredicateLookupRule<T,C,P>
- 所有已实现的接口:
ResourceSuggestion
,Rule<com.mojang.brigadier.StringReader,
,P> SuggestionSupplier<com.mojang.brigadier.StringReader>
static class ComponentPredicateParser.PredicateLookupRule<T,C,P>
extends ResourceLookupRule<ComponentPredicateParser.Context<T,C,P>,P>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.util.parsing.packrat.Rule
Rule.RuleAction<S,
T>, Rule.SimpleRuleAction<S, T>, Rule.WrappedTerm<S, T> -
字段概要
从类继承的字段 net.minecraft.util.parsing.packrat.commands.ResourceLookupRule
context
-
构造器概要
构造器构造器说明PredicateLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_409912_, ComponentPredicateParser.Context<T, C, P> p_335572_) -
方法概要
修饰符和类型方法说明protected P
validateElement
(com.mojang.brigadier.ImmutableStringReader p_336035_, ResourceLocation p_335697_) 从类继承的方法 net.minecraft.util.parsing.packrat.commands.ResourceLookupRule
parse
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.util.parsing.packrat.commands.ResourceSuggestion
possibleValues
-
构造器详细资料
-
PredicateLookupRule
PredicateLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_409912_, ComponentPredicateParser.Context<T, C, P> p_335572_)
-
-
方法详细资料
-
validateElement
protected P validateElement(com.mojang.brigadier.ImmutableStringReader p_336035_, ResourceLocation p_335697_) throws Exception - 指定者:
validateElement
在类中ResourceLookupRule<ComponentPredicateParser.Context<T,
C, P>, P> - 抛出:
Exception
-
possibleResources
-