类 ComponentPredicateParser.ElementLookupRule<T,C,P>
java.lang.Object
net.minecraft.util.parsing.packrat.commands.ResourceLookupRule<ComponentPredicateParser.Context<T,C,P>,T>
net.minecraft.commands.arguments.item.ComponentPredicateParser.ElementLookupRule<T,C,P>
- 所有已实现的接口:
ResourceSuggestion
,Rule<com.mojang.brigadier.StringReader,
,T> SuggestionSupplier<com.mojang.brigadier.StringReader>
static class ComponentPredicateParser.ElementLookupRule<T,C,P>
extends ResourceLookupRule<ComponentPredicateParser.Context<T,C,P>,T>
-
嵌套类概要
从接口继承的嵌套类/接口 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
-
构造器概要
构造器构造器说明ElementLookupRule
(Atom<ResourceLocation> p_330685_, ComponentPredicateParser.Context<T, C, P> p_333665_) -
方法概要
修饰符和类型方法说明protected T
validateElement
(com.mojang.brigadier.ImmutableStringReader p_336288_, ResourceLocation p_329752_) 从类继承的方法 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
-
构造器详细资料
-
ElementLookupRule
ElementLookupRule(Atom<ResourceLocation> p_330685_, ComponentPredicateParser.Context<T, C, P> p_333665_)
-
-
方法详细资料
-
validateElement
protected T validateElement(com.mojang.brigadier.ImmutableStringReader p_336288_, ResourceLocation p_329752_) throws Exception - 指定者:
validateElement
在类中ResourceLookupRule<ComponentPredicateParser.Context<T,
C, P>, T> - 抛出:
Exception
-
possibleResources
-