Class RotationArgument
java.lang.Object
net.minecraft.commands.arguments.coordinates.RotationArgument
- All Implemented Interfaces:
ArgumentType<Coordinates>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleCommandExceptionTypeprivate static final Collection<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CoordinatesgetRotation(CommandContext<CommandSourceStack> context, String name) parse(StringReader reader) static RotationArgumentrotation()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArgumentType
listSuggestions, parse
-
Field Details
-
EXAMPLES
-
ERROR_NOT_COMPLETE
-
-
Constructor Details
-
RotationArgument
public RotationArgument()
-
-
Method Details
-
rotation
-
getRotation
-
parse
- Specified by:
parsein interfaceArgumentType<Coordinates>- Throws:
CommandSyntaxException
-
getExamples
- Specified by:
getExamplesin interfaceArgumentType<Coordinates>
-