JumpEffect module

JumpEffect: Minecraft 26.3 cheat module, full source for every implementation (1 client: LiquidBounce (Kotlin)).

1 implementationRENDER

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.

LiquidBounce (Kotlin)RENDERsrc/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/render/jumpeffect/ModuleJumpEffect.ktKotlin · 57 lines · 2.0 KB

Shows an effect beneath your feet when jumping.

ModuleJumpEffect.ktKotlin · Minecraft 26.2 · 57 lines · 2.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.render.jumpeffect
20
21
import net.ccbluex.liquidbounce.event.events.PlayerJumpEvent
22
import net.ccbluex.liquidbounce.event.handler
23
import net.ccbluex.liquidbounce.features.module.ClientModule
24
import net.ccbluex.liquidbounce.features.module.ModuleCategories
25
import net.ccbluex.liquidbounce.features.module.modules.render.jumpeffect.modes.JumpEffectImage
26
import net.ccbluex.liquidbounce.features.module.modules.render.jumpeffect.modes.JumpEffectSimple
27
import net.ccbluex.liquidbounce.utils.collection.ExpiringList.Companion.ExpiringList
28
import net.minecraft.world.phys.Vec3
29
30
object ModuleJumpEffect : ClientModule("JumpEffect", ModuleCategories.RENDER) {
31
32
    val circles = ExpiringList<Vec3>()
33
34
    val modes = choices("Mode", 0) {
35
        arrayOf(
36
            JumpEffectSimple,
37
            JumpEffectImage
38
        )
39
    }.apply {
40
        tagBy(this)
41
        onChanged {
42
            circles.clear()
43
        }
44
    }
45
46
    @Suppress("unused")
47
    val playerJumpHandler = handler<PlayerJumpEvent> { _ ->
48
        // Adds new circle when the player jumps
49
        circles.add(player.position(), modes.activeMode.lifetime.last)
50
    }
51
52
    override fun onDisabled() {
53
        circles.clear()
54
    }
55
56
}
57