类 RotationArgument

java.lang.Object
net.minecraft.commands.arguments.coordinates.RotationArgument
所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<Coordinates>

public class RotationArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<Coordinates>
  • 字段详细资料

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • ERROR_NOT_COMPLETE

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_COMPLETE
  • 构造器详细资料

    • RotationArgument

      public RotationArgument()
  • 方法详细资料

    • rotation

      public static RotationArgument rotation()
    • getRotation

      public static Coordinates getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120483_, String p_120484_)
    • parse

      public Coordinates parse(com.mojang.brigadier.StringReader p_120481_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      指定者:
      parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<Coordinates>
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getExamples

      public Collection<String> getExamples()
      指定者:
      getExamples 在接口中 com.mojang.brigadier.arguments.ArgumentType<Coordinates>