LiquidWalk module

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

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.

LiquidBounce (Kotlin)MOVEMENTsrc/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/movement/liquidwalk/ModuleLiquidWalk.ktKotlin · 68 lines · 2.5 KB

Allows you to walk on water.

ModuleLiquidWalk.ktKotlin · Minecraft 26.2 · 68 lines · 2.5 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.liquidwalk
20
21
import net.ccbluex.liquidbounce.features.module.ClientModule
22
import net.ccbluex.liquidbounce.features.module.ModuleCategories
23
import net.ccbluex.liquidbounce.features.module.modules.movement.liquidwalk.modes.LiquidWalkNoCheatPlus
24
import net.ccbluex.liquidbounce.features.module.modules.movement.liquidwalk.modes.LiquidWalkVanilla
25
import net.ccbluex.liquidbounce.features.module.modules.movement.liquidwalk.modes.LiquidWalkVerusB3901
26
import net.ccbluex.liquidbounce.features.module.modules.movement.liquidwalk.modes.LiquidWalkVulcan291
27
import net.ccbluex.liquidbounce.utils.block.collideBlockIntersects
28
import net.ccbluex.liquidbounce.utils.block.isBlockAtPosition
29
import net.ccbluex.liquidbounce.utils.entity.box
30
import net.minecraft.world.level.block.LiquidBlock
31
32
/**
33
 * LiquidWalk module
34
 *
35
 * Allows you to walk on water like jesus. Also known as Jesus module.
36
 */
37
object ModuleLiquidWalk : ClientModule(
38
    "LiquidWalk",
39
    ModuleCategories.MOVEMENT,
40
    aliases = listOf("Jesus", "WaterWalk")
41
) {
42
43
    internal val modes = choices("Mode", LiquidWalkVanilla, arrayOf(
44
        LiquidWalkVanilla,
45
        LiquidWalkNoCheatPlus,
46
        LiquidWalkVerusB3901,
47
        LiquidWalkVulcan291,
48
    )).apply { tagBy(this) }
49
50
    /**
51
     * Check if player is standing on water
52
     */
53
    fun standingOnWater(): Boolean {
54
        val boundingBox = player.box
55
        val detectionBox = boundingBox.setMinY(boundingBox.minY - 0.01)
56
57
        return detectionBox.isBlockAtPosition { it is LiquidBlock }
58
    }
59
60
    fun collidesWithAnythingElse(): Boolean {
61
        val boundingBox = player.box
62
        val detectionBox = boundingBox.setMinY(boundingBox.minY - 0.5)
63
64
        return detectionBox.collideBlockIntersects { it !is LiquidBlock }
65
    }
66
67
}
68