net.minecraft.commands.arguments

public class StyleArgument

extends ParserBasedArgument<Style>

fw
net.minecraft.commands.arguments.StyleArgument
net.minecraft.class_9019
net.minecraft.command.argument.StyleArgumentType
net.minecraft.src.C_301940_

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_47554
EXAMPLES
f_303688_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_STYLE
field_55866
INVALID_STYLE_EXCEPTION
f_381861_
private static final com.mojang.serialization.DynamicOps<Tag>
c
OPS
field_58154
OPS
f_381544_
private static final CommandArgumentParser<Tag>
d
TAG_PARSER
field_57922
PARSER
f_380874_

Constructor summary

ModifierConstructor
private (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
public static Style
a(com.mojang.brigadier.context.CommandContext<ek> arg0, String arg1)
getStyle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_55448(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getStyle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String style)
m_307431_(com.mojang.brigadier.context.CommandContext<C_2969_> p_311982_, String p_309702_)
public static StyleArgument
a(eg arg0)
style(CommandBuildContext arg0)
method_55446(class_7157 arg0)
style(CommandRegistryAccess registryAccess)
m_305778_(C_213173_ p_331105_)
public Collection<String>
getExamples()
getExamples()
getExamples()