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

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_47554
EXAMPLES
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_STYLE
field_55866
INVALID_STYLE_EXCEPTION
private static final CommandArgumentParser<Object>
c
TAG_PARSER
field_57922
PARSER

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)
public static StyleArgument
a(eg arg0)
style(CommandBuildContext arg0)
method_55446(class_7157 arg0)
style(CommandRegistryAccess registryAccess)
public Collection<String>
getExamples()
getExamples()