Class StyleArgument
java.lang.Object
net.minecraft.util.parsing.packrat.commands.ParserBasedArgument<Style>
net.minecraft.commands.arguments.StyleArgument
- All Implemented Interfaces:
ArgumentType<Style>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DynamicCommandExceptionTypeprivate static final Collection<String> private static final DynamicOps<Tag> private static final CommandArgumentParser<Tag> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StylegetStyle(CommandContext<CommandSourceStack> context, String name) static StyleArgumentstyle(CommandBuildContext context) Methods inherited from class ParserBasedArgument
listSuggestions, parseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArgumentType
parse
-
Field Details
-
EXAMPLES
-
ERROR_INVALID_STYLE
-
OPS
-
TAG_PARSER
-
-
Constructor Details
-
StyleArgument
-
-
Method Details
-
getStyle
-
style
-
getExamples
-