Interface ParsingRule<S,T>
- All Known Implementing Classes:
AnyIdParsingRule
,IdentifiableParsingRule
,NbtParsingRule
,PackratParsing.ComponentParsingRule
,PackratParsing.ItemParsingRule
,PackratParsing.SubPredicateParsingRule
,PackratParsing.TagParsingRule
,ParsingRule.SimpleRule
public interface ParsingRule<S,T>
- Mappings:
Namespace Name named net/minecraft/command/argument/packrat/ParsingRule
intermediary net/minecraft/class_9396
official bmq
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static final record
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S,
T> ParsingRule <S, T> of
(Term<S> term, ParsingRule.RuleAction<S, T> action) static <S,
T> ParsingRule <S, T> of
(Term<S> term, ParsingRule.StatelessAction<T> action) parse
(ParsingState<S> state)
-
Method Details
-
parse
- 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
Lbmq;a(Lbmp;)Ljava/util/Optional;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/command/argument/packrat/ParsingRule;of(Lnet/minecraft/command/argument/packrat/Term;Lnet/minecraft/command/argument/packrat/ParsingRule$RuleAction;)Lnet/minecraft/command/argument/packrat/ParsingRule;
intermediary method_58320
Lnet/minecraft/class_9396;method_58320(Lnet/minecraft/class_9402;Lnet/minecraft/class_9396$class_9397;)Lnet/minecraft/class_9396;
official a
Lbmq;a(Lbmt;Lbmq$a;)Lbmq;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/command/argument/packrat/ParsingRule;of(Lnet/minecraft/command/argument/packrat/Term;Lnet/minecraft/command/argument/packrat/ParsingRule$StatelessAction;)Lnet/minecraft/command/argument/packrat/ParsingRule;
intermediary method_58321
Lnet/minecraft/class_9396;method_58321(Lnet/minecraft/class_9402;Lnet/minecraft/class_9396$class_9398;)Lnet/minecraft/class_9396;
official a
Lbmq;a(Lbmt;Lbmq$b;)Lbmq;
-