Начинающий
- Статус
- Оффлайн
- Регистрация
- 17 Апр 2025
- Сообщения
- 48
- Реакции
- 0
- Выберите загрузчик игры
- Прочие моды
Короче, решил посливать что в моем чите есть, сразу говорю он не как в дельте
он хуже в разы, но обходит рв, на
он хуже в разы, но обходит рв, на
Пожалуйста, авторизуйтесь для просмотра ссылки.
(no ad) видно почему он ниочем
Код:
public class ThroughWall extends Function {
public ThroughWall() {
}
@Subscribe
private void onMotion(EventMotion eventMotion) {
if (mc.player == null || mc.world == null) return;
BlockPos chestPos = findChestPosition();
if (chestPos != null) {
BlockRayTraceResult ray = new BlockRayTraceResult(mc.player.getLookVec(), mc.player.getHorizontalFacing(), chestPos, false);
mc.playerController.processRightClickBlock(mc.player, mc.world, Hand.MAIN_HAND, ray);
this.toggle();
}
}
private BlockPos findChestPosition() {
for (int x = -5; x <= 5; x++) {
for (int y = -1; y <= 1; y++) {
for (int z = -5; z <= 5; z++) {
BlockPos pos = mc.player.getPosition().add(x, y, z);
if (mc.world.getBlockState(pos).getBlock() == Blocks.CHEST) {
return pos;
}
}
}
}
return null;
}
}