Package net.minecraft.command.argument
Class MessageArgumentType
java.lang.Object
net.minecraft.command.argument.MessageArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<MessageArgumentType.MessageFormat>,class_7451<MessageArgumentType.MessageFormat>
public class MessageArgumentType
extends Object
implements class_7451<MessageArgumentType.MessageFormat>
- Mappings:
Namespace Name official efintermediary net/minecraft/class_2196named net/minecraft/command/argument/MessageArgumentType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextgetMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> command, String name) static MessageArgumentTypemessage()method_43752(MessageArgumentType.MessageFormat messageFormat) private static Textmethod_43768(ServerCommandSource serverCommandSource, MessageArgumentType.MessageFormat messageFormat) static class_7471method_43770(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string) parse(com.mojang.brigadier.StringReader stringReader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official aLef;a:Ljava/util/Collection;intermediary field_9876Lnet/minecraft/class_2196;field_9876:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/MessageArgumentType;EXAMPLES:Ljava/util/Collection;
-
-
Constructor Details
-
MessageArgumentType
public MessageArgumentType()
-
-
Method Details
-
message
- Mappings:
Namespace Name Mixin selector official aLef;a()Lef;intermediary method_9340Lnet/minecraft/class_2196;method_9340()Lnet/minecraft/class_2196;named messageLnet/minecraft/command/argument/MessageArgumentType;message()Lnet/minecraft/command/argument/MessageArgumentType;
-
getMessage
public static Text getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> command, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLef;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lrf;intermediary method_9339Lnet/minecraft/class_2196;method_9339(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2561;named getMessageLnet/minecraft/command/argument/MessageArgumentType;getMessage(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/text/Text;
-
method_43770
public static class_7471 method_43770(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official bLef;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lrn;intermediary method_43770Lnet/minecraft/class_2196;method_43770(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_7471;named method_43770Lnet/minecraft/command/argument/MessageArgumentType;method_43770(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_7471;
-
method_43768
private static Text method_43768(ServerCommandSource serverCommandSource, MessageArgumentType.MessageFormat messageFormat) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLef;a(Ldr;Lef$a;)Lrf;intermediary method_43768Lnet/minecraft/class_2196;method_43768(Lnet/minecraft/class_2168;Lnet/minecraft/class_2196$class_2197;)Lnet/minecraft/class_2561;named method_43768Lnet/minecraft/command/argument/MessageArgumentType;method_43768(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;)Lnet/minecraft/text/Text;
-
parse
public MessageArgumentType.MessageFormat parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<MessageArgumentType.MessageFormat>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLef;a(Lcom/mojang/brigadier/StringReader;)Lef$a;intermediary method_9338Lnet/minecraft/class_2196;method_9338(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2196$class_2197;named parseLnet/minecraft/command/argument/MessageArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<MessageArgumentType.MessageFormat>
-
method_43752
- Specified by:
method_43752in interfaceclass_7451<MessageArgumentType.MessageFormat>- Mappings:
Namespace Name Mixin selector official aLef;a(Lef$a;)Lrf;intermediary method_43769Lnet/minecraft/class_2196;method_43769(Lnet/minecraft/class_2196$class_2197;)Lnet/minecraft/class_2561;named method_43752Lnet/minecraft/command/argument/MessageArgumentType;method_43752(Lnet/minecraft/command/argument/MessageArgumentType$MessageFormat;)Lnet/minecraft/text/Text;
-