Class GreedyPredicateParseRule
java.lang.Object
net.minecraft.util.parsing.packrat.commands.GreedyPredicateParseRule
- Direct Known Subclasses:
SnbtGrammar.SimpleHexLiteralParseRule
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.parsing.packrat.Rule
Rule.RuleAction<S,
T>, Rule.SimpleRuleAction<S, T>, Rule.WrappedTerm<S, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DelayedException
<com.mojang.brigadier.exceptions.CommandSyntaxException> private final int
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionGreedyPredicateParseRule
(int p_411080_, int p_411051_, DelayedException<com.mojang.brigadier.exceptions.CommandSyntaxException> p_411069_) GreedyPredicateParseRule
(int p_410153_, DelayedException<com.mojang.brigadier.exceptions.CommandSyntaxException> p_410568_) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
isAccepted
(char p_410180_) parse
(ParseState<com.mojang.brigadier.StringReader> p_410027_)
-
Field Details
-
minSize
private final int minSize -
maxSize
private final int maxSize -
error
-
-
Constructor Details
-
GreedyPredicateParseRule
public GreedyPredicateParseRule(int p_410153_, DelayedException<com.mojang.brigadier.exceptions.CommandSyntaxException> p_410568_) -
GreedyPredicateParseRule
public GreedyPredicateParseRule(int p_411080_, int p_411051_, DelayedException<com.mojang.brigadier.exceptions.CommandSyntaxException> p_411069_)
-
-
Method Details