net.minecraft.commands.arguments

public class MessageArgument

implements SignedArgument<MessageArgument$Message>

fk
net.minecraft.commands.arguments.MessageArgument
net.minecraft.class_2196
net.minecraft.command.argument.MessageArgumentType
net.minecraft.src.C_3590_
net.minecraft.commands.arguments.ArgumentChat

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static MessageArgument
a()
message()
method_9340()
message()
m_96832_()
public static Component
a(com.mojang.brigadier.context.CommandContext<et> 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)
m_96835_(com.mojang.brigadier.context.CommandContext<C_2969_> p_96836_, String p_96837_)
public static void
a(com.mojang.brigadier.context.CommandContext<et> arg0, String arg1, Consumer<xp> 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)
m_245478_(com.mojang.brigadier.context.CommandContext<C_2969_> p_249433_, String p_248718_, Consumer<C_213510_> p_249460_)
private static void
a(Consumer<xp> arg0, et arg1, xp 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)
m_247736_(Consumer<C_213510_> p_250000_, C_2969_ p_252335_, C_213510_ p_249420_)
private static void
b(Consumer<xp> arg0, et arg1, xp 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)
m_247098_(Consumer<C_213510_> p_249162_, C_2969_ p_248759_, C_213510_ p_252332_)
private static CompletableFuture<FilteredText>
a(et arg0, xp arg1)
filterPlainText(CommandSourceStack arg0, PlayerChatMessage arg1)
method_45563(class_2168 arg0, class_7471 arg1)
filterText(ServerCommandSource source, SignedMessage message)
m_246606_(C_2969_ p_252063_, C_213510_ p_251184_)
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)
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)
parse(com.mojang.brigadier.StringReader p_345556_, S arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()