Class PlayerUtils
java.lang.Object
meteordevelopment.meteorclient.utils.player.PlayerUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic float[]calculateAngle(net.minecraft.world.phys.Vec3 target) static booleancanSeeEntity(net.minecraft.world.entity.Entity entity) static voidstatic doubledistance(double x1, double y1, double z1, double x2, double y2, double z2) static doubledistanceTo(double x, double y, double z) static doubledistanceTo(net.minecraft.core.BlockPos blockPos) static doubledistanceTo(net.minecraft.world.entity.Entity entity) static doubledistanceTo(net.minecraft.world.phys.Vec3 vec3d) static doubledistanceToCamera(double x, double y, double z) static doubledistanceToCamera(net.minecraft.world.entity.Entity entity) static Dimensionstatic net.minecraft.world.level.GameTypestatic net.minecraft.world.phys.Vec3getHorizontalVelocity(double bps) static intgetPing()static ColorgetPlayerColor(net.minecraft.world.entity.player.Player entity, Color defaultColor) static floatstatic booleanisAlive()static booleanisInHole(boolean doubles) static booleanisMoving()static booleanstatic booleanisWithin(double x, double y, double z, double r) static booleanisWithin(net.minecraft.core.BlockPos blockPos, double r) static booleanisWithin(net.minecraft.world.entity.Entity entity, double r) static booleanisWithin(net.minecraft.world.phys.Vec3 vec3d, double r) static booleanisWithinCamera(double x, double y, double z, double r) static booleanisWithinCamera(net.minecraft.core.BlockPos blockPos, double r) static booleanisWithinCamera(net.minecraft.world.entity.Entity entity, double r) static booleanisWithinCamera(net.minecraft.world.phys.Vec3 vec3d, double r) static booleanisWithinReach(double x, double y, double z) static booleanisWithinReach(net.minecraft.core.BlockPos blockPos) static booleanisWithinReach(net.minecraft.world.entity.Entity entity) static booleanisWithinReach(net.minecraft.world.phys.Vec3 vec3d) static floatstatic floatpossibleHealthReductions(boolean entities, boolean fall) static booleanshouldPause(boolean ifBreaking, boolean ifEating, boolean ifDrinking) static doublesquaredDistance(double x1, double y1, double z1, double x2, double y2, double z2) static doublesquaredDistanceTo(double x, double y, double z) static doublesquaredDistanceTo(net.minecraft.core.BlockPos blockPos) static doublesquaredDistanceTo(net.minecraft.world.entity.Entity entity) static doublesquaredDistanceToCamera(double x, double y, double z) static doublesquaredDistanceToCamera(net.minecraft.world.entity.Entity entity)
-
Method Details
-
getPlayerColor
-
getHorizontalVelocity
public static net.minecraft.world.phys.Vec3 getHorizontalVelocity(double bps) -
centerPlayer
public static void centerPlayer() -
canSeeEntity
public static boolean canSeeEntity(net.minecraft.world.entity.Entity entity) -
calculateAngle
public static float[] calculateAngle(net.minecraft.world.phys.Vec3 target) -
shouldPause
public static boolean shouldPause(boolean ifBreaking, boolean ifEating, boolean ifDrinking) -
isMoving
public static boolean isMoving() -
isSprinting
public static boolean isSprinting() -
isInHole
public static boolean isInHole(boolean doubles) -
possibleHealthReductions
public static float possibleHealthReductions() -
possibleHealthReductions
public static float possibleHealthReductions(boolean entities, boolean fall) -
distance
public static double distance(double x1, double y1, double z1, double x2, double y2, double z2) -
distanceTo
public static double distanceTo(net.minecraft.world.entity.Entity entity) -
distanceTo
public static double distanceTo(net.minecraft.core.BlockPos blockPos) -
distanceTo
public static double distanceTo(net.minecraft.world.phys.Vec3 vec3d) -
distanceTo
public static double distanceTo(double x, double y, double z) -
squaredDistanceTo
public static double squaredDistanceTo(net.minecraft.world.entity.Entity entity) -
squaredDistanceTo
public static double squaredDistanceTo(net.minecraft.core.BlockPos blockPos) -
squaredDistanceTo
public static double squaredDistanceTo(double x, double y, double z) -
squaredDistance
public static double squaredDistance(double x1, double y1, double z1, double x2, double y2, double z2) -
isWithin
public static boolean isWithin(net.minecraft.world.entity.Entity entity, double r) -
isWithin
public static boolean isWithin(net.minecraft.world.phys.Vec3 vec3d, double r) -
isWithin
public static boolean isWithin(net.minecraft.core.BlockPos blockPos, double r) -
isWithin
public static boolean isWithin(double x, double y, double z, double r) -
distanceToCamera
public static double distanceToCamera(double x, double y, double z) -
distanceToCamera
public static double distanceToCamera(net.minecraft.world.entity.Entity entity) -
squaredDistanceToCamera
public static double squaredDistanceToCamera(double x, double y, double z) -
squaredDistanceToCamera
public static double squaredDistanceToCamera(net.minecraft.world.entity.Entity entity) -
isWithinCamera
public static boolean isWithinCamera(net.minecraft.world.entity.Entity entity, double r) -
isWithinCamera
public static boolean isWithinCamera(net.minecraft.world.phys.Vec3 vec3d, double r) -
isWithinCamera
public static boolean isWithinCamera(net.minecraft.core.BlockPos blockPos, double r) -
isWithinCamera
public static boolean isWithinCamera(double x, double y, double z, double r) -
isWithinReach
public static boolean isWithinReach(net.minecraft.world.entity.Entity entity) -
isWithinReach
public static boolean isWithinReach(net.minecraft.world.phys.Vec3 vec3d) -
isWithinReach
public static boolean isWithinReach(net.minecraft.core.BlockPos blockPos) -
isWithinReach
public static boolean isWithinReach(double x, double y, double z) -
getDimension
-
getGameMode
public static net.minecraft.world.level.GameType getGameMode() -
getTotalHealth
public static float getTotalHealth() -
isAlive
public static boolean isAlive() -
getPing
public static int getPing()
-