Обход античита Rotation 360 + Util $$$ | 3.1

Забаненный
Забаненный
Статус
Оффлайн
Регистрация
20 Апр 2025
Сообщения
322
Реакции
1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Выберите загрузчик игры
  1. Vanilla
  2. OptiFine
rotation
Java:
Expand Collapse Copy
case "Плавная" -> {
RotationBuilder rotationBuilder = new RotationBuilder();
rotationBuilder.setGcd(true);
rotationBuilder.setRandom(true);
rotationBuilder.limitDelta(true);
rotationBuilder.maxYawDelta(MathUtil.random(50, 60));
rotationBuilder.maxPitchDelta(MathUtil.random(15, 25));
rotationBuilder.setAddYaw(true);
rotationBuilder.setSpookyPitch(true);
rotationBuilder.setYawSpeed(MathUtil.random(1.5f, 1.6f));
rotationBuilder.setPitchSpeed(MathUtil.random(1.2f, 1.4f));
rotationBuilder.pitch /= 0.00f;
rotationBuilder.calculateVec(target, rotateVector, time2o);
rotateVector = new Vector2f(rotationBuilder.yaw, rotationBuilder.pitch);
mc.player.rotationYawOffset = rotationBuilder.yaw;
}
util($$$)

Java:
Expand Collapse Copy
/**
* @author Валера
* @since 30 апреля 2025 г.
*/

package im.wayne.utils;

import im.wayne.utils.math.MathUtil;
import im.wayne.utils.math.SensUtils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.vector.Vector2f;
import net.minecraft.util.math.vector.Vector3d;
import net.minecraft.util.math.vector.Vector3f;

import java.util.concurrent.ThreadLocalRandom;

import static net.minecraft.util.math.MathHelper.wrapDegrees;

public class RotationBuilder implements Helper {
public float yaw;
public float pitch;
public float deltaYaw;
public boolean randomizeHitBox;
public boolean gcd;
public float yawSpeed;
public float pitchSpeed;
public boolean addYaw;
public float maxAddYaw;
public float minAddYaw;
public float maxYawDelta;
public float maxPitchDelta;
public boolean limitDeltas;
public boolean spookyTimesPitch;

public RotationBuilder setSpookyPitch(boolean value) {
this.spookyTimesPitch = value;
return this;
}

public RotationBuilder limitDelta(boolean value) {
this.limitDeltas = value;
return this;
}

public RotationBuilder maxYawDelta(float value) {
this.maxYawDelta = value;
return this;
}

public RotationBuilder maxPitchDelta(float value) {
this.maxPitchDelta = value;
return this;
}

public RotationBuilder setAddYaw(boolean value) {
this.addYaw = value;
return this;
}

public RotationBuilder maxAddYaw(float value) {
this.maxAddYaw = value;
return this;
}

public RotationBuilder minAddYaw(float value) {
this.minAddYaw = value;
return this;
}

public RotationBuilder setYawSpeed(float value) {
this.yawSpeed = value;
return this;
}

public RotationBuilder setPitchSpeed(float value) {
this.pitchSpeed = value;
return this;
}

public RotationBuilder setRandom(boolean value) {
this.randomizeHitBox = value;
return this;
}

public RotationBuilder setGcd(boolean value) {
this.gcd = value;
return this;
}


private float currentYaw = 0.0f;

public void calculateVec(LivingEntity target, Vector2f rotVec, Time2o timer) {
Vector3d vec = randomHitBox(target.getBoundingBox()).subtract(mc.player.getEyePosition(1f));

float yawToTarget = (float) wrapDegrees(Math.toDegrees(Math.atan2(vec.z, vec.x)) - 90);
float pitchToTarget = (float) (-Math.toDegrees(Math.atan2(vec.y, Math.hypot(vec.x, vec.z))));

float yawDelta = wrapDegrees(yawToTarget - rotVec.x);
float pitchDelta = wrapDegrees(pitchToTarget - rotVec.y);

if (limitDeltas) {
yawDelta = Math.min(Math.max(yawDelta, -maxYawDelta), maxYawDelta);
pitchDelta = Math.min(Math.max(pitchDelta, -maxPitchDelta), maxPitchDelta);
}

yaw = rotVec.x + (yawDelta / yawSpeed);
if (!spookyTimesPitch) {
pitch = rotVec.y + (pitchDelta / pitchSpeed);
} else {
pitch = rotVec.y + (pitchDelta / pitchSpeed) * (float) Math.sin(MathUtil.random(0.5f, 1f));
}
if (addYaw && timer.isReached()) {
yaw = currentYaw + MathUtil.random(20, 25);
}

if (gcd) {
float gcd = SensUtils.getGCDValue();
yaw -= (yaw - rotVec.x) % gcd;
pitch -= (pitch - rotVec.y) % gcd;
}
}

public static Vector3d randomHitBox(AxisAlignedBB axisAlignedBB) {
double randomX = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minX, axisAlignedBB.maxX);
double randomY = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minY, axisAlignedBB.maxY);
double randomZ = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minZ, axisAlignedBB.maxZ);
return new Vector3d(randomX, randomY, randomZ);
}

public static Vector3f getDefaultHitBox(Entity entity) {
return new Vector3f(entity.getPositionVec().add(0, mc.player.getHeight() / 2, 0)
.subtract(mc.player.getEyePosition(1.0F)));
}

public void applyToPlayer() {
mc.player.rotationYaw = yaw;
mc.player.rotationPitch = pitch;
}
}

должно работать на фт если дописать
на спуки работает
ss:
 
rotation
Java:
Expand Collapse Copy
case "Плавная" -> {
RotationBuilder rotationBuilder = new RotationBuilder();
rotationBuilder.setGcd(true);
rotationBuilder.setRandom(true);
rotationBuilder.limitDelta(true);
rotationBuilder.maxYawDelta(MathUtil.random(50, 60));
rotationBuilder.maxPitchDelta(MathUtil.random(15, 25));
rotationBuilder.setAddYaw(true);
rotationBuilder.setSpookyPitch(true);
rotationBuilder.setYawSpeed(MathUtil.random(1.5f, 1.6f));
rotationBuilder.setPitchSpeed(MathUtil.random(1.2f, 1.4f));
rotationBuilder.pitch /= 0.00f;
rotationBuilder.calculateVec(target, rotateVector, time2o);
rotateVector = new Vector2f(rotationBuilder.yaw, rotationBuilder.pitch);
mc.player.rotationYawOffset = rotationBuilder.yaw;
}
util($$$)

Java:
Expand Collapse Copy
/**
* @author Валера
* @since 30 апреля 2025 г.
*/

package im.wayne.utils;

import im.wayne.utils.math.MathUtil;
import im.wayne.utils.math.SensUtils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.vector.Vector2f;
import net.minecraft.util.math.vector.Vector3d;
import net.minecraft.util.math.vector.Vector3f;

import java.util.concurrent.ThreadLocalRandom;

import static net.minecraft.util.math.MathHelper.wrapDegrees;

public class RotationBuilder implements Helper {
public float yaw;
public float pitch;
public float deltaYaw;
public boolean randomizeHitBox;
public boolean gcd;
public float yawSpeed;
public float pitchSpeed;
public boolean addYaw;
public float maxAddYaw;
public float minAddYaw;
public float maxYawDelta;
public float maxPitchDelta;
public boolean limitDeltas;
public boolean spookyTimesPitch;

public RotationBuilder setSpookyPitch(boolean value) {
this.spookyTimesPitch = value;
return this;
}

public RotationBuilder limitDelta(boolean value) {
this.limitDeltas = value;
return this;
}

public RotationBuilder maxYawDelta(float value) {
this.maxYawDelta = value;
return this;
}

public RotationBuilder maxPitchDelta(float value) {
this.maxPitchDelta = value;
return this;
}

public RotationBuilder setAddYaw(boolean value) {
this.addYaw = value;
return this;
}

public RotationBuilder maxAddYaw(float value) {
this.maxAddYaw = value;
return this;
}

public RotationBuilder minAddYaw(float value) {
this.minAddYaw = value;
return this;
}

public RotationBuilder setYawSpeed(float value) {
this.yawSpeed = value;
return this;
}

public RotationBuilder setPitchSpeed(float value) {
this.pitchSpeed = value;
return this;
}

public RotationBuilder setRandom(boolean value) {
this.randomizeHitBox = value;
return this;
}

public RotationBuilder setGcd(boolean value) {
this.gcd = value;
return this;
}


private float currentYaw = 0.0f;

public void calculateVec(LivingEntity target, Vector2f rotVec, Time2o timer) {
Vector3d vec = randomHitBox(target.getBoundingBox()).subtract(mc.player.getEyePosition(1f));

float yawToTarget = (float) wrapDegrees(Math.toDegrees(Math.atan2(vec.z, vec.x)) - 90);
float pitchToTarget = (float) (-Math.toDegrees(Math.atan2(vec.y, Math.hypot(vec.x, vec.z))));

float yawDelta = wrapDegrees(yawToTarget - rotVec.x);
float pitchDelta = wrapDegrees(pitchToTarget - rotVec.y);

if (limitDeltas) {
yawDelta = Math.min(Math.max(yawDelta, -maxYawDelta), maxYawDelta);
pitchDelta = Math.min(Math.max(pitchDelta, -maxPitchDelta), maxPitchDelta);
}

yaw = rotVec.x + (yawDelta / yawSpeed);
if (!spookyTimesPitch) {
pitch = rotVec.y + (pitchDelta / pitchSpeed);
} else {
pitch = rotVec.y + (pitchDelta / pitchSpeed) * (float) Math.sin(MathUtil.random(0.5f, 1f));
}
if (addYaw && timer.isReached()) {
yaw = currentYaw + MathUtil.random(20, 25);
}

if (gcd) {
float gcd = SensUtils.getGCDValue();
yaw -= (yaw - rotVec.x) % gcd;
pitch -= (pitch - rotVec.y) % gcd;
}
}

public static Vector3d randomHitBox(AxisAlignedBB axisAlignedBB) {
double randomX = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minX, axisAlignedBB.maxX);
double randomY = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minY, axisAlignedBB.maxY);
double randomZ = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minZ, axisAlignedBB.maxZ);
return new Vector3d(randomX, randomY, randomZ);
}

public static Vector3f getDefaultHitBox(Entity entity) {
return new Vector3f(entity.getPositionVec().add(0, mc.player.getHeight() / 2, 0)
.subtract(mc.player.getEyePosition(1.0F)));
}

public void applyToPlayer() {
mc.player.rotationYaw = yaw;
mc.player.rotationPitch = pitch;
}
}

должно работать на фт если дописать
на спуки работает
ss:
честно, пиздец какой-то
 
Нахера вы пастеров кормите? Чтобы были лютыыей клиенти с килькай фт?
 
Зачем??? Я теперь не самий крутой пастер с робящей килкой фт(
 
Time2o дайте и isReached
 
rotationBuilder.pitch /= 0.00f;
технологии
 
жду в пастах которые сами ничего не могут написать
 
лол, у меня эта ротация 1-2 месяца на экселленте, она урон режит писец
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
это пиздец
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
пастеры схавают хоть за бабки
 
rotation
Java:
Expand Collapse Copy
case "Плавная" -> {
RotationBuilder rotationBuilder = new RotationBuilder();
rotationBuilder.setGcd(true);
rotationBuilder.setRandom(true);
rotationBuilder.limitDelta(true);
rotationBuilder.maxYawDelta(MathUtil.random(50, 60));
rotationBuilder.maxPitchDelta(MathUtil.random(15, 25));
rotationBuilder.setAddYaw(true);
rotationBuilder.setSpookyPitch(true);
rotationBuilder.setYawSpeed(MathUtil.random(1.5f, 1.6f));
rotationBuilder.setPitchSpeed(MathUtil.random(1.2f, 1.4f));
rotationBuilder.pitch /= 0.00f;
rotationBuilder.calculateVec(target, rotateVector, time2o);
rotateVector = new Vector2f(rotationBuilder.yaw, rotationBuilder.pitch);
mc.player.rotationYawOffset = rotationBuilder.yaw;
}
util($$$)

Java:
Expand Collapse Copy
/**
* @author Валера
* @since 30 апреля 2025 г.
*/

package im.wayne.utils;

import im.wayne.utils.math.MathUtil;
import im.wayne.utils.math.SensUtils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.vector.Vector2f;
import net.minecraft.util.math.vector.Vector3d;
import net.minecraft.util.math.vector.Vector3f;

import java.util.concurrent.ThreadLocalRandom;

import static net.minecraft.util.math.MathHelper.wrapDegrees;

public class RotationBuilder implements Helper {
public float yaw;
public float pitch;
public float deltaYaw;
public boolean randomizeHitBox;
public boolean gcd;
public float yawSpeed;
public float pitchSpeed;
public boolean addYaw;
public float maxAddYaw;
public float minAddYaw;
public float maxYawDelta;
public float maxPitchDelta;
public boolean limitDeltas;
public boolean spookyTimesPitch;

public RotationBuilder setSpookyPitch(boolean value) {
this.spookyTimesPitch = value;
return this;
}

public RotationBuilder limitDelta(boolean value) {
this.limitDeltas = value;
return this;
}

public RotationBuilder maxYawDelta(float value) {
this.maxYawDelta = value;
return this;
}

public RotationBuilder maxPitchDelta(float value) {
this.maxPitchDelta = value;
return this;
}

public RotationBuilder setAddYaw(boolean value) {
this.addYaw = value;
return this;
}

public RotationBuilder maxAddYaw(float value) {
this.maxAddYaw = value;
return this;
}

public RotationBuilder minAddYaw(float value) {
this.minAddYaw = value;
return this;
}

public RotationBuilder setYawSpeed(float value) {
this.yawSpeed = value;
return this;
}

public RotationBuilder setPitchSpeed(float value) {
this.pitchSpeed = value;
return this;
}

public RotationBuilder setRandom(boolean value) {
this.randomizeHitBox = value;
return this;
}

public RotationBuilder setGcd(boolean value) {
this.gcd = value;
return this;
}


private float currentYaw = 0.0f;

public void calculateVec(LivingEntity target, Vector2f rotVec, Time2o timer) {
Vector3d vec = randomHitBox(target.getBoundingBox()).subtract(mc.player.getEyePosition(1f));

float yawToTarget = (float) wrapDegrees(Math.toDegrees(Math.atan2(vec.z, vec.x)) - 90);
float pitchToTarget = (float) (-Math.toDegrees(Math.atan2(vec.y, Math.hypot(vec.x, vec.z))));

float yawDelta = wrapDegrees(yawToTarget - rotVec.x);
float pitchDelta = wrapDegrees(pitchToTarget - rotVec.y);

if (limitDeltas) {
yawDelta = Math.min(Math.max(yawDelta, -maxYawDelta), maxYawDelta);
pitchDelta = Math.min(Math.max(pitchDelta, -maxPitchDelta), maxPitchDelta);
}

yaw = rotVec.x + (yawDelta / yawSpeed);
if (!spookyTimesPitch) {
pitch = rotVec.y + (pitchDelta / pitchSpeed);
} else {
pitch = rotVec.y + (pitchDelta / pitchSpeed) * (float) Math.sin(MathUtil.random(0.5f, 1f));
}
if (addYaw && timer.isReached()) {
yaw = currentYaw + MathUtil.random(20, 25);
}

if (gcd) {
float gcd = SensUtils.getGCDValue();
yaw -= (yaw - rotVec.x) % gcd;
pitch -= (pitch - rotVec.y) % gcd;
}
}

public static Vector3d randomHitBox(AxisAlignedBB axisAlignedBB) {
double randomX = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minX, axisAlignedBB.maxX);
double randomY = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minY, axisAlignedBB.maxY);
double randomZ = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minZ, axisAlignedBB.maxZ);
return new Vector3d(randomX, randomY, randomZ);
}

public static Vector3f getDefaultHitBox(Entity entity) {
return new Vector3f(entity.getPositionVec().add(0, mc.player.getHeight() / 2, 0)
.subtract(mc.player.getEyePosition(1.0F)));
}

public void applyToPlayer() {
mc.player.rotationYaw = yaw;
mc.player.rotationPitch = pitch;
}
}

должно работать на фт если дописать
на спуки работает
ss:
На фт это дерьмо если не забаниться то сожрёт и не заметит тут 0 человеческого патерна лишь ебанная линейка с разной РАНДОМНОй блять скоростью, я удивлен что работает на спуки, уверен побив подольше начнет отменять удары
 
rotation
Java:
Expand Collapse Copy
case "Плавная" -> {
RotationBuilder rotationBuilder = new RotationBuilder();
rotationBuilder.setGcd(true);
rotationBuilder.setRandom(true);
rotationBuilder.limitDelta(true);
rotationBuilder.maxYawDelta(MathUtil.random(50, 60));
rotationBuilder.maxPitchDelta(MathUtil.random(15, 25));
rotationBuilder.setAddYaw(true);
rotationBuilder.setSpookyPitch(true);
rotationBuilder.setYawSpeed(MathUtil.random(1.5f, 1.6f));
rotationBuilder.setPitchSpeed(MathUtil.random(1.2f, 1.4f));
rotationBuilder.pitch /= 0.00f;
rotationBuilder.calculateVec(target, rotateVector, time2o);
rotateVector = new Vector2f(rotationBuilder.yaw, rotationBuilder.pitch);
mc.player.rotationYawOffset = rotationBuilder.yaw;
}
util($$$)

Java:
Expand Collapse Copy
/**
* @author Валера
* @since 30 апреля 2025 г.
*/

package im.wayne.utils;

import im.wayne.utils.math.MathUtil;
import im.wayne.utils.math.SensUtils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.vector.Vector2f;
import net.minecraft.util.math.vector.Vector3d;
import net.minecraft.util.math.vector.Vector3f;

import java.util.concurrent.ThreadLocalRandom;

import static net.minecraft.util.math.MathHelper.wrapDegrees;

public class RotationBuilder implements Helper {
public float yaw;
public float pitch;
public float deltaYaw;
public boolean randomizeHitBox;
public boolean gcd;
public float yawSpeed;
public float pitchSpeed;
public boolean addYaw;
public float maxAddYaw;
public float minAddYaw;
public float maxYawDelta;
public float maxPitchDelta;
public boolean limitDeltas;
public boolean spookyTimesPitch;

public RotationBuilder setSpookyPitch(boolean value) {
this.spookyTimesPitch = value;
return this;
}

public RotationBuilder limitDelta(boolean value) {
this.limitDeltas = value;
return this;
}

public RotationBuilder maxYawDelta(float value) {
this.maxYawDelta = value;
return this;
}

public RotationBuilder maxPitchDelta(float value) {
this.maxPitchDelta = value;
return this;
}

public RotationBuilder setAddYaw(boolean value) {
this.addYaw = value;
return this;
}

public RotationBuilder maxAddYaw(float value) {
this.maxAddYaw = value;
return this;
}

public RotationBuilder minAddYaw(float value) {
this.minAddYaw = value;
return this;
}

public RotationBuilder setYawSpeed(float value) {
this.yawSpeed = value;
return this;
}

public RotationBuilder setPitchSpeed(float value) {
this.pitchSpeed = value;
return this;
}

public RotationBuilder setRandom(boolean value) {
this.randomizeHitBox = value;
return this;
}

public RotationBuilder setGcd(boolean value) {
this.gcd = value;
return this;
}


private float currentYaw = 0.0f;

public void calculateVec(LivingEntity target, Vector2f rotVec, Time2o timer) {
Vector3d vec = randomHitBox(target.getBoundingBox()).subtract(mc.player.getEyePosition(1f));

float yawToTarget = (float) wrapDegrees(Math.toDegrees(Math.atan2(vec.z, vec.x)) - 90);
float pitchToTarget = (float) (-Math.toDegrees(Math.atan2(vec.y, Math.hypot(vec.x, vec.z))));

float yawDelta = wrapDegrees(yawToTarget - rotVec.x);
float pitchDelta = wrapDegrees(pitchToTarget - rotVec.y);

if (limitDeltas) {
yawDelta = Math.min(Math.max(yawDelta, -maxYawDelta), maxYawDelta);
pitchDelta = Math.min(Math.max(pitchDelta, -maxPitchDelta), maxPitchDelta);
}

yaw = rotVec.x + (yawDelta / yawSpeed);
if (!spookyTimesPitch) {
pitch = rotVec.y + (pitchDelta / pitchSpeed);
} else {
pitch = rotVec.y + (pitchDelta / pitchSpeed) * (float) Math.sin(MathUtil.random(0.5f, 1f));
}
if (addYaw && timer.isReached()) {
yaw = currentYaw + MathUtil.random(20, 25);
}

if (gcd) {
float gcd = SensUtils.getGCDValue();
yaw -= (yaw - rotVec.x) % gcd;
pitch -= (pitch - rotVec.y) % gcd;
}
}

public static Vector3d randomHitBox(AxisAlignedBB axisAlignedBB) {
double randomX = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minX, axisAlignedBB.maxX);
double randomY = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minY, axisAlignedBB.maxY);
double randomZ = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minZ, axisAlignedBB.maxZ);
return new Vector3d(randomX, randomY, randomZ);
}

public static Vector3f getDefaultHitBox(Entity entity) {
return new Vector3f(entity.getPositionVec().add(0, mc.player.getHeight() / 2, 0)
.subtract(mc.player.getEyePosition(1.0F)));
}

public void applyToPlayer() {
mc.player.rotationYaw = yaw;
mc.player.rotationPitch = pitch;
}
}

должно работать на фт если дописать
на спуки работает
ss:
Супер тест! Побил 30 секунд на спавне = андетект хули. Эта хуйня работать не будет сука! с этого мега "обхода" который по сути просто рандомная скорость я блять ваще выпал
 
public void calculateVec(LivingEntity target, Vector2f rotVec, Time2o timer) { Vector3d vec = randomHitBox(target.getBoundingBox()).subtract(mc.player.getEyePosition(1f)); float yawToTarget = (float) wrapDegrees(Math.toDegrees(Math.atan2(vec.z, vec.x)) - 90); float pitchToTarget = (float) (-Math.toDegrees(Math.atan2(vec.y, Math.hypot(vec.x, vec.z)))); float yawDelta = wrapDegrees(yawToTarget - rotVec.x); float pitchDelta = wrapDegrees(pitchToTarget - rotVec.y); if (limitDeltas) { yawDelta = Math.min(Math.max(yawDelta, -maxYawDelta), maxYawDelta); pitchDelta = Math.min(Math.max(pitchDelta, -maxPitchDelta), maxPitchDelta); } yaw = rotVec.x + (yawDelta / yawSpeed); if (!spookyTimesPitch) { pitch = rotVec.y + (pitchDelta / pitchSpeed); } else { pitch = rotVec.y + (pitchDelta / pitchSpeed) * (float) Math.sin(MathUtil.random(0.5f, 1f)); } if (addYaw && timer.isReached()) { yaw = currentYaw + MathUtil.random(20, 25); } if (gcd) { float gcd = SensUtils.getGCDValue(); yaw -= (yaw - rotVec.x) % gcd; pitch -= (pitch - rotVec.y) % gcd; } } public static Vector3d randomHitBox(AxisAlignedBB axisAlignedBB) { double randomX = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minX, axisAlignedBB.maxX); double randomY = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minY, axisAlignedBB.maxY); double randomZ = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minZ, axisAlignedBB.maxZ); return new Vector3d(randomX, randomY, randomZ); } public static Vector3f getDefaultHitBox(Entity entity) { return new Vector3f(entity.getPositionVec().add(0, mc.player.getHeight() / 2, 0) .subtract(mc.player.getEyePosition(1.0F))); } public void applyToPlayer() { mc.player.rotationYaw = yaw; mc.player.rotationPitch = pitch; } }
запутывание имен наша лучшая разработка :SMOrc:
 
rotation
Java:
Expand Collapse Copy
case "Плавная" -> {
RotationBuilder rotationBuilder = new RotationBuilder();
rotationBuilder.setGcd(true);
rotationBuilder.setRandom(true);
rotationBuilder.limitDelta(true);
rotationBuilder.maxYawDelta(MathUtil.random(50, 60));
rotationBuilder.maxPitchDelta(MathUtil.random(15, 25));
rotationBuilder.setAddYaw(true);
rotationBuilder.setSpookyPitch(true);
rotationBuilder.setYawSpeed(MathUtil.random(1.5f, 1.6f));
rotationBuilder.setPitchSpeed(MathUtil.random(1.2f, 1.4f));
rotationBuilder.pitch /= 0.00f;
rotationBuilder.calculateVec(target, rotateVector, time2o);
rotateVector = new Vector2f(rotationBuilder.yaw, rotationBuilder.pitch);
mc.player.rotationYawOffset = rotationBuilder.yaw;
}
util($$$)

Java:
Expand Collapse Copy
/**
* @author Валера
* @since 30 апреля 2025 г.
*/

package im.wayne.utils;

import im.wayne.utils.math.MathUtil;
import im.wayne.utils.math.SensUtils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.vector.Vector2f;
import net.minecraft.util.math.vector.Vector3d;
import net.minecraft.util.math.vector.Vector3f;

import java.util.concurrent.ThreadLocalRandom;

import static net.minecraft.util.math.MathHelper.wrapDegrees;

public class RotationBuilder implements Helper {
public float yaw;
public float pitch;
public float deltaYaw;
public boolean randomizeHitBox;
public boolean gcd;
public float yawSpeed;
public float pitchSpeed;
public boolean addYaw;
public float maxAddYaw;
public float minAddYaw;
public float maxYawDelta;
public float maxPitchDelta;
public boolean limitDeltas;
public boolean spookyTimesPitch;

public RotationBuilder setSpookyPitch(boolean value) {
this.spookyTimesPitch = value;
return this;
}

public RotationBuilder limitDelta(boolean value) {
this.limitDeltas = value;
return this;
}

public RotationBuilder maxYawDelta(float value) {
this.maxYawDelta = value;
return this;
}

public RotationBuilder maxPitchDelta(float value) {
this.maxPitchDelta = value;
return this;
}

public RotationBuilder setAddYaw(boolean value) {
this.addYaw = value;
return this;
}

public RotationBuilder maxAddYaw(float value) {
this.maxAddYaw = value;
return this;
}

public RotationBuilder minAddYaw(float value) {
this.minAddYaw = value;
return this;
}

public RotationBuilder setYawSpeed(float value) {
this.yawSpeed = value;
return this;
}

public RotationBuilder setPitchSpeed(float value) {
this.pitchSpeed = value;
return this;
}

public RotationBuilder setRandom(boolean value) {
this.randomizeHitBox = value;
return this;
}

public RotationBuilder setGcd(boolean value) {
this.gcd = value;
return this;
}


private float currentYaw = 0.0f;

public void calculateVec(LivingEntity target, Vector2f rotVec, Time2o timer) {
Vector3d vec = randomHitBox(target.getBoundingBox()).subtract(mc.player.getEyePosition(1f));

float yawToTarget = (float) wrapDegrees(Math.toDegrees(Math.atan2(vec.z, vec.x)) - 90);
float pitchToTarget = (float) (-Math.toDegrees(Math.atan2(vec.y, Math.hypot(vec.x, vec.z))));

float yawDelta = wrapDegrees(yawToTarget - rotVec.x);
float pitchDelta = wrapDegrees(pitchToTarget - rotVec.y);

if (limitDeltas) {
yawDelta = Math.min(Math.max(yawDelta, -maxYawDelta), maxYawDelta);
pitchDelta = Math.min(Math.max(pitchDelta, -maxPitchDelta), maxPitchDelta);
}

yaw = rotVec.x + (yawDelta / yawSpeed);
if (!spookyTimesPitch) {
pitch = rotVec.y + (pitchDelta / pitchSpeed);
} else {
pitch = rotVec.y + (pitchDelta / pitchSpeed) * (float) Math.sin(MathUtil.random(0.5f, 1f));
}
if (addYaw && timer.isReached()) {
yaw = currentYaw + MathUtil.random(20, 25);
}

if (gcd) {
float gcd = SensUtils.getGCDValue();
yaw -= (yaw - rotVec.x) % gcd;
pitch -= (pitch - rotVec.y) % gcd;
}
}

public static Vector3d randomHitBox(AxisAlignedBB axisAlignedBB) {
double randomX = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minX, axisAlignedBB.maxX);
double randomY = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minY, axisAlignedBB.maxY);
double randomZ = ThreadLocalRandom.current().nextDouble(axisAlignedBB.minZ, axisAlignedBB.maxZ);
return new Vector3d(randomX, randomY, randomZ);
}

public static Vector3f getDefaultHitBox(Entity entity) {
return new Vector3f(entity.getPositionVec().add(0, mc.player.getHeight() / 2, 0)
.subtract(mc.player.getEyePosition(1.0F)));
}

public void applyToPlayer() {
mc.player.rotationYaw = yaw;
mc.player.rotationPitch = pitch;
}
}

должно работать на фт если дописать
на спуки работает
ss:
пиздец. Почему ротации которые не обходят ОБЫЧНЫЙ вуклан работают на спукиче.
 
Мб слить мой обход килки 360 ? Чет резко начали сливать
 
Назад
Сверху Снизу