HighJump module

HighJump: Minecraft 26.3 cheat module, full source for every implementation (2 clients: OfflineClient, LiquidBounce (Kotlin)).

2 implementationsMOVEMENT

Full module source: 2 implementations

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

OfflineClientMOVEMENTsrc/main/java/com/jellypudding/offlineclient/modules/movement/HighJump.javaJava · 50 lines · 1.7 KB

Jump higher than normal.

SettingsBoostKeep speed
HighJump.javaJava · Minecraft 26.2 · 50 lines · 1.7 KB · complete file, verbatimOriginal ↗
1
package com.jellypudding.offlineclient.modules.movement;
2
3
import com.jellypudding.offlineclient.event.Subscribe;
4
import com.jellypudding.offlineclient.event.events.TickEvent;
5
import com.jellypudding.offlineclient.module.Category;
6
import com.jellypudding.offlineclient.module.Module;
7
import com.jellypudding.offlineclient.setting.BoolSetting;
8
import com.jellypudding.offlineclient.setting.NumberSetting;
9
import com.jellypudding.offlineclient.util.JumpCarry;
10
import com.jellypudding.offlineclient.util.Modules;
11
12
public final class HighJump extends Module {
13
14
    private final NumberSetting boost = new NumberSetting("Boost",
15
        "Extra upward motion added to every jump.", 0.5, 0.1, 2, 0.1);
16
    private final BoolSetting keepSpeed = new BoolSetting("Keep speed",
17
        "Holds your take off speed for the whole jump instead of slowing in the air.", false);
18
19
    private final JumpCarry carry = new JumpCarry();
20
21
    public HighJump() {
22
        super("HighJump", "Jump higher than normal.", Category.MOVEMENT);
23
        addSettings(boost, keepSpeed);
24
    }
25
26
    @Override
27
    protected void onDisable() {
28
        carry.stop();
29
    }
30
31
    // Called from LocalPlayerMixin.getJumpPower().
32
    public float getAdditionalJumpMotion() {
33
        return isEnabled() ? boost.getFloat() : 0f;
34
    }
35
36
    // Called from LocalPlayerMixin once the game has set the jump velocity.
37
    public void onJump() {
38
        // LongJump owns the horizontal speed whilst it is on.
39
        if (!isEnabled() || !keepSpeed.isOn() || !inGame() || Modules.enabled(LongJump.class)) {
40
            return;
41
        }
42
        carry.start(mc.player.getDeltaMovement().horizontalDistance());
43
    }
44
45
    @Subscribe
46
    private void onTick(TickEvent event) {
47
        carry.tick();
48
    }
49
}
50
LiquidBounce (Kotlin)MOVEMENTsrc/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/movement/highjump/ModuleHighJump.ktKotlin · 96 lines · 3.0 KB

Allows you to jump higher.

SettingsMotionGlide
ModuleHighJump.ktKotlin · Minecraft 26.2 · 96 lines · 3.0 KB · complete file, verbatimOriginal ↗
1
/*
2
 * This file is part of LiquidBounce (https://github.com/CCBlueX/LiquidBounce)
3
 *
4
 * Copyright (c) 2015 - 2026 CCBlueX
5
 *
6
 * LiquidBounce is free software: you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License as published by
8
 * the Free Software Foundation, either version 3 of the License, or
9
 * (at your option) any later version.
10
 *
11
 * LiquidBounce is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with LiquidBounce. If not, see <https://www.gnu.org/licenses/>.
18
 */
19
package net.ccbluex.liquidbounce.features.module.modules.movement.highjump
20
21
import net.ccbluex.liquidbounce.config.types.group.Mode
22
import net.ccbluex.liquidbounce.config.types.group.ModeValueGroup
23
import net.ccbluex.liquidbounce.event.events.PlayerJumpEvent
24
import net.ccbluex.liquidbounce.event.sequenceHandler
25
import net.ccbluex.liquidbounce.event.tickHandler
26
import net.ccbluex.liquidbounce.event.waitTicks
27
import net.ccbluex.liquidbounce.features.module.ClientModule
28
import net.ccbluex.liquidbounce.features.module.ModuleCategories
29
30
/**
31
 * HighJump module
32
 *
33
 * Allows you to jump higher.
34
 */
35
object ModuleHighJump : ClientModule("HighJump", ModuleCategories.MOVEMENT) {
36
37
    private val modes = choices(
38
        "Mode", Vanilla, arrayOf(
39
            Vanilla, Vulcan
40
        )
41
    ).apply { tagBy(this) }
42
    private val motion by float("Motion", 0.8f, 0.2f..10f)
43
44
    private object Vanilla : Mode("Vanilla") {
45
46
        override val parent: ModeValueGroup<Mode>
47
            get() = modes
48
49
        @Suppress("unused")
50
        val jumpEvent = sequenceHandler<PlayerJumpEvent> {
51
            it.motion = motion
52
        }
53
    }
54
55
    /**
56
     * @anticheat Vulcan
57
     * @anticheatVersion 2.7.5
58
     * @testedOn eu.loyisa.cn; eu.anticheat-test.com
59
     * @note this still flags a bit
60
     */
61
    private object Vulcan : Mode("Vulcan") {
62
63
        override val parent: ModeValueGroup<Mode>
64
            get() = modes
65
66
        var glide by boolean("Glide", false)
67
68
        var shouldGlide = false
69
70
        @Suppress("unused")
71
        val repeatable = tickHandler {
72
            if (glide && shouldGlide) { // if the variable is true, then glide
73
                if (player.onGround()) {
74
                    shouldGlide = false
75
                    return@tickHandler
76
                }
77
                if (player.fallDistance > 0) {
78
                    if (player.tickCount % 2 == 0) {
79
                        player.deltaMovement.y = -0.155
80
                    }
81
                } else {
82
                    player.deltaMovement.y = -0.1
83
                }
84
            }
85
        }
86
87
        @Suppress("unused")
88
        val jumpEvent = sequenceHandler<PlayerJumpEvent> {
89
            it.motion = motion
90
            waitTicks(100)
91
            player.deltaMovement.y = 0.0
92
            shouldGlide = true
93
        }
94
    }
95
}
96