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