Начинающий
Начинающий
- Статус
- Онлайн
- Регистрация
- 24 Сен 2024
- Сообщения
- 163
- Реакции
- 1
че с ним не так, вроде все правильно написано
Java:
public void onTick(EventUpdate e) {
if (mc.player == null || mc.world == null) return;
if (!mode.is("FunTime")) return;
rotationManager.setSilentRotation(new Rotation(mc.player.getYaw(), 80.0f));
if (!mc.player.horizontalCollision) return;
if (!timer.finished(225.0)) return;
mc.player.setOnGround(true);
mc.player.jump();
Slot grassSlot = PlayerInventoryUtil.getSlot(Items.SEAGRASS);
if (grassSlot == null) {
this.setEnabled(false);
return;
}
if (swapAndPlace(grassSlot)) {
mc.player.fallDistance = 0.0f;
timer.resetTimer();
}
}
