Package net.minecraft.command.argument
Class MessageArgumentType.MessageFormat
java.lang.Object
net.minecraft.command.argument.MessageArgumentType.MessageFormat
- Enclosing class:
MessageArgumentType
- Mappings:
Namespace Name official ej$a
intermediary net/minecraft/class_2196$class_2197
named net/minecraft/command/argument/MessageArgumentType$MessageFormat
-
Field Summary
Modifier and TypeFieldDescription(package private) final String
private final MessageArgumentType.MessageSelector[]
-
Constructor Summary
ConstructorDescriptionMessageFormat
(String contents, MessageArgumentType.MessageSelector[] selectors) -
Method Summary
Modifier and TypeMethodDescription(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
Lej$a;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
Lej$a;b:[Lej$b;
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>
Lej$a;<init>(Ljava/lang/String;[Lej$b;)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
Lej$a;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
Lej$a;b()[Lej$b;
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;
-
format
Text format(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lej$a;a(Lds;)Lvf;
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
Lej$a;a(Lds;Z)Lvf;
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
Lej$a;a(Lcom/mojang/brigadier/StringReader;Z)Lej$a;
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;
-