Class TemplateRotationArgument
java.lang.Object
net.minecraft.commands.arguments.StringRepresentableArgument<Rotation>
net.minecraft.commands.arguments.TemplateRotationArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Rotation>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RotationgetRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static TemplateRotationArgumentMethods inherited from class StringRepresentableArgument
convertId, getExamples, listSuggestions, parseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
parse
-
Constructor Details
-
TemplateRotationArgument
private TemplateRotationArgument()
-
-
Method Details
-
templateRotation
-
getRotation
public static Rotation getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
-