Package org.rusherhack.client.api.utils
Class PlayerUtils
java.lang.Object
org.rusherhack.client.api.utils.PlayerUtils
- All Implemented Interfaces:
Globals
Helper class containing player related functions
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]getDirectionalSpeed(double speed) static double[]getDirectionalSpeed(float yaw, double speed) static double[]getDirectionalSpeed(net.minecraft.client.player.LocalPlayer player, float yaw, double speed) static double[]getDirectionalSpeed(net.minecraft.client.player.LocalPlayer player, float yaw, double speed, float forward, float strafe) static net.minecraft.core.BlockPosstatic boolean
-
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()
-