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 named net/minecraft/command/argument/RotationArgumentTypeintermediary net/minecraft/class_2270official gt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String> static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLESLnet/minecraft/command/argument/RotationArgumentType;EXAMPLES:Ljava/util/Collection;intermediary field_10735Lnet/minecraft/class_2270;field_10735:Ljava/util/Collection;official bLgt;b:Ljava/util/Collection;
-
INCOMPLETE_ROTATION_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_ROTATION_EXCEPTION- Mappings:
Namespace Name Mixin selector named INCOMPLETE_ROTATION_EXCEPTIONLnet/minecraft/command/argument/RotationArgumentType;INCOMPLETE_ROTATION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_10736Lnet/minecraft/class_2270;field_10736:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLgt;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
RotationArgumentType
public RotationArgumentType()
-
-
Method Details
-
rotation
- Mappings:
Namespace Name Mixin selector named rotationLnet/minecraft/command/argument/RotationArgumentType;rotation()Lnet/minecraft/command/argument/RotationArgumentType;intermediary method_9717Lnet/minecraft/class_2270;method_9717()Lnet/minecraft/class_2270;official aLgt;a()Lgt;
-
getRotation
public static PosArgument getRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getRotationLnet/minecraft/command/argument/RotationArgumentType;getRotation(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;intermediary method_9716Lnet/minecraft/class_2270;method_9716(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2267;official aLgt;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lgr;
-
parse
public PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/command/argument/RotationArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;intermediary method_9718Lnet/minecraft/class_2270;method_9718(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;official aLgt;a(Lcom/mojang/brigadier/StringReader;)Lgr;
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>
-