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/RotationArgumentType
intermediary net/minecraft/class_2270
official gx
  • Field Details Link icon

    • EXAMPLES Link icon

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      named EXAMPLES Lnet/minecraft/command/argument/RotationArgumentType;EXAMPLES:Ljava/util/Collection;
      intermediary field_10735 Lnet/minecraft/class_2270;field_10735:Ljava/util/Collection;
      official b Lgx;b:Ljava/util/Collection;
    • INCOMPLETE_ROTATION_EXCEPTION Link icon

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_ROTATION_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INCOMPLETE_ROTATION_EXCEPTION Lnet/minecraft/command/argument/RotationArgumentType;INCOMPLETE_ROTATION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_10736 Lnet/minecraft/class_2270;field_10736:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lgx;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details Link icon

    • RotationArgumentType Link icon

      public RotationArgumentType()
  • Method Details Link icon

    • rotation Link icon

      public static RotationArgumentType rotation()
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/command/argument/RotationArgumentType;rotation()Lnet/minecraft/command/argument/RotationArgumentType;
      intermediary method_9717 Lnet/minecraft/class_2270;method_9717()Lnet/minecraft/class_2270;
      official a Lgx;a()Lgx;
    • getRotation Link icon

      public static PosArgument getRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/command/argument/RotationArgumentType;getRotation(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
      intermediary method_9716 Lnet/minecraft/class_2270;method_9716(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2267;
      official a Lgx;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lgv;
    • parse Link icon

      public PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<PosArgument>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/command/argument/RotationArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;
      intermediary method_9718 Lnet/minecraft/class_2270;method_9718(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;
      official a Lgx;a(Lcom/mojang/brigadier/StringReader;)Lgv;
    • getExamples Link icon

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<PosArgument>