Class PlayerUtils

java.lang.Object
org.rusherhack.client.api.utils.PlayerUtils
All Implemented Interfaces:
Globals

public class PlayerUtils extends Object implements Globals
Helper class containing player related functions
  • Constructor Details

    • PlayerUtils

      public PlayerUtils()
  • Method Details

    • getDirectionalSpeed

      public static double[] getDirectionalSpeed(double speed)
    • getDirectionalSpeed

      public static double[] getDirectionalSpeed(float yaw, double speed)
    • getDirectionalSpeed

      public static double[] getDirectionalSpeed(net.minecraft.client.player.LocalPlayer player, float yaw, double speed)
    • getDirectionalSpeed

      public static double[] getDirectionalSpeed(net.minecraft.client.player.LocalPlayer player, float yaw, double speed, float forward, float strafe)
    • hasHorizontalInput

      public static boolean hasHorizontalInput()
    • getEyeBlockPos

      public static net.minecraft.core.BlockPos getEyeBlockPos()