Package net.minecraft.command.argument
Class MessageArgumentType.MessageFormat
java.lang.Object
net.minecraft.command.argument.MessageArgumentType.MessageFormat
- Enclosing class:
MessageArgumentType
- Mappings:
Namespace Name official ef$b
intermediary net/minecraft/class_2196$class_2197
named net/minecraft/command/argument/MessageArgumentType$MessageFormat
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final String
private final MessageArgumentType.MessageSelector[]
-
Constructor Summary
ConstructorsConstructorDescriptionMessageFormat
(String contents, MessageArgumentType.MessageSelector[] selectors) -
Method Summary
Modifier and TypeMethodDescription(package private) CompletableFuture<Text>
decorate
(ServerCommandSource source) (package private) Text
format
(ServerCommandSource source) format
(ServerCommandSource source, boolean canUseSelectors) parse
(com.mojang.brigadier.StringReader reader, boolean canUseSelectors)
-
Field Details
-
contents
- Mappings:
Namespace Name Mixin selector official a
Lef$b;a:Ljava/lang/String;
intermediary field_9877
Lnet/minecraft/class_2196$class_2197;field_9877:Ljava/lang/String;
named contents
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;contents:Ljava/lang/String;
-
selectors
- Mappings:
Namespace Name Mixin selector official b
Lef$b;b:[Lef$c;
intermediary field_9878
Lnet/minecraft/class_2196$class_2197;field_9878:[Lnet/minecraft/class_2196$class_2198;
named selectors
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;selectors:[Lnet/minecraft/command/argument/MessageArgumentType$MessageSelector;
-
-
Constructor Details
-
MessageFormat
- Mappings:
Namespace Name Mixin selector official <init>
Lef$b;<init>(Ljava/lang/String;[Lef$c;)V
intermediary <init>
Lnet/minecraft/class_2196$class_2197;<init>(Ljava/lang/String;[Lnet/minecraft/class_2196$class_2198;)V
named <init>
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;<init>(Ljava/lang/String;[Lnet/minecraft/command/argument/MessageArgumentType$MessageSelector;)V
-
-
Method Details
-
getContents
- Mappings:
Namespace Name Mixin selector official a
Lef$b;a()Ljava/lang/String;
intermediary method_35691
Lnet/minecraft/class_2196$class_2197;method_35691()Ljava/lang/String;
named getContents
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;getContents()Ljava/lang/String;
-
getSelectors
- Mappings:
Namespace Name Mixin selector official b
Lef$b;b()[Lef$c;
intermediary method_35692
Lnet/minecraft/class_2196$class_2197;method_35692()[Lnet/minecraft/class_2196$class_2198;
named getSelectors
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;getSelectors()[Lnet/minecraft/command/argument/MessageArgumentType$MessageSelector;
-
decorate
CompletableFuture<Text> decorate(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lef$b;a(Ldr;)Ljava/util/concurrent/CompletableFuture;
intermediary method_44267
Lnet/minecraft/class_2196$class_2197;method_44267(Lnet/minecraft/class_2168;)Ljava/util/concurrent/CompletableFuture;
named decorate
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;decorate(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/concurrent/CompletableFuture;
-
format
Text format(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Lef$b;b(Ldr;)Lrq;
intermediary method_44268
Lnet/minecraft/class_2196$class_2197;method_44268(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2561;
named format
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;format(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/text/Text;
-
format
public Text format(ServerCommandSource source, boolean canUseSelectors) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lef$b;a(Ldr;Z)Lrq;
intermediary method_9341
Lnet/minecraft/class_2196$class_2197;method_9341(Lnet/minecraft/class_2168;Z)Lnet/minecraft/class_2561;
named format
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;format(Lnet/minecraft/server/command/ServerCommandSource;Z)Lnet/minecraft/text/Text;
-
parse
public static MessageArgumentType.MessageFormat parse(com.mojang.brigadier.StringReader reader, boolean canUseSelectors) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lef$b;a(Lcom/mojang/brigadier/StringReader;Z)Lef$b;
intermediary method_9342
Lnet/minecraft/class_2196$class_2197;method_9342(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2196$class_2197;
named parse
Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;parse(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;
-