Class Rotations
java.lang.Object
meteordevelopment.meteorclient.utils.player.Rotations
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic intstatic floatstatic float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetPitch(net.minecraft.entity.Entity entity) static doublestatic doublegetPitch(net.minecraft.util.math.BlockPos pos) static doublegetPitch(net.minecraft.util.math.Vec3d pos) static doublegetYaw(net.minecraft.entity.Entity entity) static doublegetYaw(net.minecraft.util.math.BlockPos pos) static doublegetYaw(net.minecraft.util.math.Vec3d pos) static voidinit()static voidrotate(double yaw, double pitch) static voidrotate(double yaw, double pitch, int priority) static voidstatic voidstatic voidstatic voidsetCamRotation(double yaw, double pitch)
-
Field Details
-
serverYaw
public static float serverYaw -
serverPitch
public static float serverPitch -
rotationTimer
public static int rotationTimer -
rotating
public static boolean rotating
-
-
Constructor Details
-
Rotations
public Rotations()
-
-
Method Details
-
init
public static void init() -
rotate
public static void rotate(double yaw, double pitch, int priority, boolean clientSide, Runnable callback) -
rotate
-
rotate
-
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
-
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)
-