net.minecraft.commands.arguments

public class StyleArgument

implements com.mojang.brigadier.arguments.ArgumentType<Style>

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

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_JSON
field_47553
INVALID_STYLE_EXCEPTION
private final HolderLookup$Provider
c
registries
field_48932
registries

Constructor summary

ModifierConstructor
private (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
public static Style
a(com.mojang.brigadier.context.CommandContext<ew> 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(es arg0)
style(CommandBuildContext arg0)
method_55446(class_7157 arg0)
style(CommandRegistryAccess registryAccess)
public Style
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_55447(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()