类 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<T>, Rule.WrappedTerm<S, T> -
字段概要
从类继承的字段 net.minecraft.util.parsing.packrat.commands.ResourceLookupRule
context
-
构造器概要
构造器构造器说明PredicateLookupRule
(Atom<ResourceLocation> p_333095_, ComponentPredicateParser.Context<T, C, P> p_335118_) -
方法概要
修饰符和类型方法说明protected P
validateElement
(com.mojang.brigadier.ImmutableStringReader p_334282_, ResourceLocation p_330262_) 从类继承的方法 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(Atom<ResourceLocation> p_333095_, ComponentPredicateParser.Context<T, C, P> p_335118_)
-
-
方法详细资料
-
validateElement
protected P validateElement(com.mojang.brigadier.ImmutableStringReader p_334282_, ResourceLocation p_330262_) throws Exception - 指定者:
validateElement
在类中ResourceLookupRule<ComponentPredicateParser.Context<T,
C, P>, P> - 抛出:
Exception
-
possibleResources
-