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