net.minecraft.commands.arguments

public class MessageArgument

implements SignedArgument<MessageArgument$Message>

ef
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 org.slf4j.Logger
b
LOGGER
field_39422
LOGGER
f_232145_

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<dr> 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 MessageArgument$ChatMessage
b(com.mojang.brigadier.context.CommandContext<dr> arg0, String arg1)
getChatMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_43770(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getSignedMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_232163_(com.mojang.brigadier.context.CommandContext<C_2969_> p_232164_, String p_232165_)
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 Collection<String>
getExamples()
getExamples()
getExamples()
public Component
a(ef$b arg0)
getPlainSignableComponent(MessageArgument$Message arg0)
method_43769(class_2196$class_2197 arg0)
toText(MessageArgumentType$MessageFormat arg0)
m_213813_(C_3591_ arg0)
public CompletableFuture<Component>
a(dr arg0, ef$b arg1)
resolvePreview(CommandSourceStack arg0, MessageArgument$Message arg1)
method_44257(class_2168 arg0, class_2196$class_2197 arg1)
decorate(ServerCommandSource arg0, MessageArgumentType$MessageFormat arg1)
m_213969_(C_2969_ p_232148_, C_3591_ arg1)
public Class<MessageArgument$Message>
b()
getValueType()
method_44261()
getFormatClass()
m_213797_()
static void
a(dr arg0, CompletableFuture<?> arg1)
logResolutionFailure(CommandSourceStack arg0, CompletableFuture<?> arg1)
method_44260(class_2168 arg0, CompletableFuture<?> arg1)
handleResolvingFailure(ServerCommandSource source, CompletableFuture<?> future)
m_232155_(C_2969_ p_232156_, CompletableFuture<?> p_232157_)