Package net.minecraft.commands.arguments
Class StyleArgument
java.lang.Object
net.minecraft.commands.arguments.StyleArgument
- All Implemented Interfaces:
- com.mojang.brigadier.arguments.ArgumentType<Style>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final Collection<String>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StylegetStyle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_313889_, String p_313891_) parse(com.mojang.brigadier.StringReader p_313833_) static StyleArgumentstyle()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentTypelistSuggestions
- 
Field Details- 
EXAMPLES
- 
ERROR_INVALID_JSONpublic static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID_JSON
 
- 
- 
Constructor Details- 
StyleArgumentprivate StyleArgument()
 
- 
- 
Method Details- 
getStylepublic static Style getStyle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_313889_, String p_313891_) 
- 
style
- 
parsepublic Style parse(com.mojang.brigadier.StringReader p_313833_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<Style>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<Style>
 
 
-