Package net.minecraft.command.argument
Class RotationArgumentType
java.lang.Object
net.minecraft.command.argument.RotationArgumentType
- All Implemented Interfaces:
- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
public class RotationArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
- Namespace - Name - official - fl- intermediary - net/minecraft/class_2270- named - net/minecraft/command/argument/RotationArgumentType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Collection<String>static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic PosArgumentgetRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse(com.mojang.brigadier.StringReader stringReader) static RotationArgumentTyperotation()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentTypelistSuggestions
- 
Field Details- 
EXAMPLES- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfl;b:Ljava/util/Collection;- intermediary - field_10735- Lnet/minecraft/class_2270;field_10735:Ljava/util/Collection;- named - EXAMPLES- Lnet/minecraft/command/argument/RotationArgumentType;EXAMPLES:Ljava/util/Collection;
 
- 
INCOMPLETE_ROTATION_EXCEPTIONpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_ROTATION_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfl;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_10736- Lnet/minecraft/class_2270;field_10736:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - INCOMPLETE_ROTATION_EXCEPTION- Lnet/minecraft/command/argument/RotationArgumentType;INCOMPLETE_ROTATION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
RotationArgumentTypepublic RotationArgumentType()
 
- 
- 
Method Details- 
rotation- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfl;a()Lfl;- intermediary - method_9717- Lnet/minecraft/class_2270;method_9717()Lnet/minecraft/class_2270;- named - rotation- Lnet/minecraft/command/argument/RotationArgumentType;rotation()Lnet/minecraft/command/argument/RotationArgumentType;
 
- 
getRotationpublic static PosArgument getRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfl;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lfj;- intermediary - method_9716- Lnet/minecraft/class_2270;method_9716(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2267;- named - getRotation- Lnet/minecraft/command/argument/RotationArgumentType;getRotation(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
 
- 
parsepublic PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfl;a(Lcom/mojang/brigadier/StringReader;)Lfj;- intermediary - method_9718- Lnet/minecraft/class_2270;method_9718(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;- named - parse- Lnet/minecraft/command/argument/RotationArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
 
 
-