net.minecraft.commands.arguments

public class StyleArgument

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

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

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

Constructor summary

ModifierConstructor
private (HolderLookup$Provider registryLookup)

Method summary

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