java.lang.Object
meteordevelopment.meteorclient.utils.player.Rotations

public class Rotations extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static int
     
    static float
     
    static float
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    getPitch(net.minecraft.entity.Entity entity)
     
    static double
    getPitch(net.minecraft.entity.Entity entity, Target target)
     
    static double
    getPitch(net.minecraft.util.math.BlockPos pos)
     
    static double
    getPitch(net.minecraft.util.math.Vec3d pos)
     
    static double
    getYaw(net.minecraft.entity.Entity entity)
     
    static double
    getYaw(net.minecraft.util.math.BlockPos pos)
     
    static double
    getYaw(net.minecraft.util.math.Vec3d pos)
     
    static void
     
    static void
    rotate(double yaw, double pitch)
     
    static void
    rotate(double yaw, double pitch, int priority)
     
    static void
    rotate(double yaw, double pitch, int priority, boolean clientSide, Runnable callback)
     
    static void
    rotate(double yaw, double pitch, int priority, Runnable callback)
     
    static void
    rotate(double yaw, double pitch, Runnable callback)
     
    static void
    setCamRotation(double yaw, double pitch)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serverYaw

      public static float serverYaw
    • serverPitch

      public static float serverPitch
    • rotationTimer

      public static int rotationTimer
    • rotating

      public static boolean rotating
  • Method Details

    • init

      public static void init()
    • rotate

      public static void rotate(double yaw, double pitch, int priority, boolean clientSide, Runnable callback)
    • rotate

      public static void rotate(double yaw, double pitch, int priority, Runnable callback)
    • rotate

      public static void rotate(double yaw, double pitch, Runnable callback)
    • rotate

      public static void rotate(double yaw, double pitch, int priority)
    • rotate

      public static void rotate(double yaw, double pitch)
    • getYaw

      public static double getYaw(net.minecraft.entity.Entity entity)
    • getYaw

      public static double getYaw(net.minecraft.util.math.Vec3d pos)
    • getPitch

      public static double getPitch(net.minecraft.util.math.Vec3d pos)
    • getPitch

      public static double getPitch(net.minecraft.entity.Entity entity, Target target)
    • getPitch

      public static double getPitch(net.minecraft.entity.Entity entity)
    • getYaw

      public static double getYaw(net.minecraft.util.math.BlockPos pos)
    • getPitch

      public static double getPitch(net.minecraft.util.math.BlockPos pos)
    • setCamRotation

      public static void setCamRotation(double yaw, double pitch)