net.minecraft.commands.arguments

public class MessageArgument

implements SignedArgument<MessageArgument$Message>

fn
net.minecraft.commands.arguments.MessageArgument
net.minecraft.class_2196
net.minecraft.command.argument.MessageArgumentType
net.minecraft.commands.arguments.ArgumentChat

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9876
EXAMPLES
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
b
TOO_LONG
field_51482
MESSAGE_TOO_LONG_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static MessageArgument
a()
message()
method_9340()
message()
public static Component
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9339(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public static void
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1, Consumer<yl> arg2)
resolveChatMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1, Consumer<PlayerChatMessage> arg2)
method_45562(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1, Consumer<class_7471> arg2)
getSignedMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Consumer<SignedMessage> callback)
private static void
a(Consumer<yl> arg0, ew arg1, yl arg2)
resolveSignedMessage(Consumer<PlayerChatMessage> arg0, CommandSourceStack arg1, PlayerChatMessage arg2)
method_45566(Consumer<class_7471> arg0, class_2168 arg1, class_7471 arg2)
chain(Consumer<SignedMessage> callback, ServerCommandSource source, SignedMessage message)
private static void
b(Consumer<yl> arg0, ew arg1, yl arg2)
resolveDisguisedMessage(Consumer<PlayerChatMessage> arg0, CommandSourceStack arg1, PlayerChatMessage arg2)
method_45569(Consumer<class_7471> arg0, class_2168 arg1, class_7471 arg2)
chainUnsigned(Consumer<SignedMessage> callback, ServerCommandSource source, SignedMessage message)
private static CompletableFuture<FilteredText>
a(ew arg0, yl arg1)
filterPlainText(CommandSourceStack arg0, PlayerChatMessage arg1)
method_45563(class_2168 arg0, class_7471 arg1)
filterText(ServerCommandSource source, SignedMessage message)
public MessageArgument$Message
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9338(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> MessageArgument$Message
a(com.mojang.brigadier.StringReader arg0, S arg1)
parse(com.mojang.brigadier.StringReader arg0, S arg1)
method_61182(com.mojang.brigadier.StringReader arg0, S arg1)
parse(com.mojang.brigadier.StringReader arg0, S arg1)
public Collection<String>
getExamples()
getExamples()