Class IdentifiableParsingRule<C,V>
java.lang.Object
net.minecraft.command.argument.packrat.IdentifiableParsingRule<C,V>
- All Implemented Interfaces:
IdentifierSuggestable
,ParsingRule<com.mojang.brigadier.StringReader,
,V> Suggestable<com.mojang.brigadier.StringReader>
- Direct Known Subclasses:
PackratParsing.ComponentParsingRule
,PackratParsing.ItemParsingRule
,PackratParsing.SubPredicateParsingRule
,PackratParsing.TagParsingRule
public abstract class IdentifiableParsingRule<C,V>
extends Object
implements ParsingRule<com.mojang.brigadier.StringReader,V>, IdentifierSuggestable
- Mappings:
Namespace Name named net/minecraft/command/argument/packrat/IdentifiableParsingRule
intermediary net/minecraft/class_9410
official bpd
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.argument.packrat.ParsingRule
ParsingRule.RuleAction<S,
T>, ParsingRule.SimpleRule<S, T>, ParsingRule.StatelessAction<T> -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
IdentifiableParsingRule
(Symbol<Identifier> symbol, C callbacks) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract V
parse
(com.mojang.brigadier.ImmutableStringReader reader, Identifier id) parse
(ParsingState<com.mojang.brigadier.StringReader> state) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.command.argument.packrat.IdentifierSuggestable
possibleIds, possibleValues
-
Field Details
-
symbol
- Mappings:
Namespace Name Mixin selector named symbol
Lnet/minecraft/command/argument/packrat/IdentifiableParsingRule;symbol:Lnet/minecraft/command/argument/packrat/Symbol;
intermediary field_49969
Lnet/minecraft/class_9410;field_49969:Lnet/minecraft/class_9387;
official b
Lbpd;b:Lbor;
-
callbacks
- Mappings:
Namespace Name Mixin selector named callbacks
Lnet/minecraft/command/argument/packrat/IdentifiableParsingRule;callbacks:Ljava/lang/Object;
intermediary field_49968
Lnet/minecraft/class_9410;field_49968:Ljava/lang/Object;
official a
Lbpd;a:Ljava/lang/Object;
-
-
Constructor Details
-
IdentifiableParsingRule
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/packrat/IdentifiableParsingRule;<init>(Lnet/minecraft/command/argument/packrat/Symbol;Ljava/lang/Object;)V
intermediary <init>
Lnet/minecraft/class_9410;<init>(Lnet/minecraft/class_9387;Ljava/lang/Object;)V
official <init>
Lbpd;<init>(Lbor;Ljava/lang/Object;)V
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceParsingRule<C,
V> - Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/packrat/ParsingRule;parse(Lnet/minecraft/command/argument/packrat/ParsingState;)Ljava/util/Optional;
intermediary method_58318
Lnet/minecraft/class_9396;method_58318(Lnet/minecraft/class_9393;)Ljava/util/Optional;
official a
Lbox;a(Lbow;)Ljava/util/Optional;
-
parse
protected abstract V parse(com.mojang.brigadier.ImmutableStringReader reader, Identifier id) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/packrat/IdentifiableParsingRule;parse(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/util/Identifier;)Ljava/lang/Object;
intermediary method_58343
Lnet/minecraft/class_9410;method_58343(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2960;)Ljava/lang/Object;
official a
Lbpd;a(Lcom/mojang/brigadier/ImmutableStringReader;Lalz;)Ljava/lang/Object;
-