类 ResourceLookupRule<C,V>
java.lang.Object
net.minecraft.util.parsing.packrat.commands.ResourceLookupRule<C,V>
- 所有已实现的接口:
ResourceSuggestion
,Rule<com.mojang.brigadier.StringReader,
,V> SuggestionSupplier<com.mojang.brigadier.StringReader>
- 直接已知子类:
ComponentPredicateParser.ComponentLookupRule
,ComponentPredicateParser.ElementLookupRule
,ComponentPredicateParser.PredicateLookupRule
,ComponentPredicateParser.TagLookupRule
public abstract class ResourceLookupRule<C,V>
extends Object
implements Rule<com.mojang.brigadier.StringReader,V>, ResourceSuggestion
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.util.parsing.packrat.Rule
Rule.RuleAction<S,
T>, Rule.SimpleRuleAction<S, T>, Rule.WrappedTerm<S, T> -
字段概要
字段修饰符和类型字段说明protected final C
private final DelayedException
<com.mojang.brigadier.exceptions.CommandSyntaxException> private final NamedRule
<com.mojang.brigadier.StringReader, ResourceLocation> -
构造器概要
构造器限定符构造器说明protected
ResourceLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_410060_, C p_335882_) -
方法概要
修饰符和类型方法说明parse
(ParseState<com.mojang.brigadier.StringReader> p_335941_) protected abstract V
validateElement
(com.mojang.brigadier.ImmutableStringReader p_335698_, ResourceLocation p_335462_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.util.parsing.packrat.commands.ResourceSuggestion
possibleResources, possibleValues
-
字段详细资料
-
idParser
-
context
-
error
-
-
构造器详细资料
-
ResourceLookupRule
protected ResourceLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> p_410060_, C p_335882_)
-
-
方法详细资料