public class SwizzleArgument extends java.lang.Object implements com.mojang.brigadier.arguments.ArgumentType<java.util.EnumSet<Direction.Axis>>
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<java.lang.String> |
EXAMPLES |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
SWIZZLE_INVALID |
Constructor and Description |
---|
SwizzleArgument() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getExamples() |
static java.util.EnumSet<Direction.Axis> |
getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
java.util.EnumSet<Direction.Axis> |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
static SwizzleArgument |
swizzle() |
private static final java.util.Collection<java.lang.String> EXAMPLES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SWIZZLE_INVALID
public static SwizzleArgument swizzle()
public static java.util.EnumSet<Direction.Axis> getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSource> context, java.lang.String name)
public java.util.EnumSet<Direction.Axis> parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<java.util.EnumSet<Direction.Axis>>
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<java.util.EnumSet<Direction.Axis>>