net.minecraft.command.argument

public class StyleArgumentType

extends ParserBackedArgumentType<Style>

net.minecraft.commands.arguments.StyleArgument
net.minecraft.class_9019
net.minecraft.command.argument.StyleArgumentType

Field summary

Modifier and TypeField
private static final Collection<String>
EXAMPLES
field_47554
EXAMPLES
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_INVALID_STYLE
field_55866
INVALID_STYLE_EXCEPTION
private static final com.mojang.serialization.DynamicOps<NbtElement>
OPS
field_58154
OPS
private static final Parser<NbtElement>
TAG_PARSER
field_57922
PARSER

Constructor summary

ModifierConstructor
private (RegistryWrapper$WrapperLookup registries)

Method summary

Modifier and TypeMethod
public static Style
getStyle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
method_55448(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getStyle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String style)
public static StyleArgumentType
style(CommandBuildContext context)
method_55446(class_7157 arg0)
style(CommandRegistryAccess registryAccess)
public Collection<String>
getExamples()
private static com.mojang.brigadier.Message
lambda$static$0(Object arg0)
method_55449(Object arg0)
method_55449(Object style)