LevitCtrl module

LevitCtrl: Minecraft 26.3 cheat module, full source for every implementation (1 client: MelaHack (ThunderHack fork)).

1 implementationMOVEMENT

Clients with this module

Full module source: 1 implementation

Every implementation below is the complete module file, verbatim. Expand a client to read its code.

MelaHack (ThunderHack fork)MOVEMENTsrc/main/java/thunder/hack/features/modules/movement/LevitationControl.javaJava · 28 lines · 1.1 KB

Allows you to control your movement while having a levitation effect.

SettingsUp SpeedDown Speed
LevitationControl.javaJava · Minecraft 26.2 · 28 lines · 1.1 KB · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.movement;
2
3
import meteordevelopment.orbit.EventHandler;
4
import net.minecraft.world.effect.MobEffects;
5
import thunder.hack.events.impl.EventMove;
6
import thunder.hack.features.modules.Module;
7
import thunder.hack.setting.Setting;
8
9
public class LevitationControl extends Module {
10
    public LevitationControl() {
11
        super("LevitCtrl", Category.MOVEMENT);
12
    }
13
14
    private final Setting<Integer> upAmplifier = new Setting<>("Up Speed", 1, 1, 5);
15
    private final Setting<Integer> downAmplifier = new Setting<>("Down Speed", 1, 1, 5);
16
17
    @EventHandler
18
    public void onMove(EventMove e) {
19
        if (mc.player.hasEffect(MobEffects.LEVITATION)) {
20
            int amplifier = mc.player.getEffect(MobEffects.LEVITATION).getAmplifier();
21
            if (mc.options.keyJump.isDown()) e.setY(((0.05D * (double) (amplifier + 1) - e.getY()) * 0.2D) * upAmplifier.getValue() * 100);
22
            else if (mc.options.keyShift.isDown()) e.setY(-(((0.05D * (double) (amplifier + 1) - e.getY()) * 0.2D) * downAmplifier.getValue() * 100));
23
            else e.setY(0);
24
            e.cancel();
25
        }
26
    }
27
}
28