NoSlowBreak module

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

1 implementationWORLD

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)WORLDsrc/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/world/ModuleNoSlowBreak.ktKotlin · 53 lines · 1.7 KB

Automatically adjusts breaking speed when in negatively affecting situations.

SettingsWhen
ModuleNoSlowBreak.ktKotlin · Minecraft 26.2 · 53 lines · 1.7 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.world
20
21
import net.ccbluex.liquidbounce.config.types.list.Tagged
22
import net.ccbluex.liquidbounce.features.module.ClientModule
23
import net.ccbluex.liquidbounce.features.module.ModuleCategories
24
25
/**
26
 * NoSlowBreak module
27
 *
28
 * Automatically adjusts breaking speed when in negatively affecting situations.
29
 */
30
object ModuleNoSlowBreak : ClientModule("NoSlowBreak", ModuleCategories.WORLD) {
31
    @Suppress("ObjectPropertyNaming")
32
    private val `when` by multiEnumChoice("When",
33
        When.MINING_FATIGUE,
34
        When.ON_AIR
35
    )
36
37
    @JvmStatic
38
    val miningFatigue get() = running && When.MINING_FATIGUE in `when`
39
40
    @JvmStatic
41
    val onAir get() = running && When.ON_AIR in `when`
42
43
    @JvmStatic
44
    val water get() = running && When.UNDERWATER in `when`
45
46
    @Suppress("unused")
47
    private enum class When(override val tag: String) : Tagged {
48
        MINING_FATIGUE("MiningFatigue"),
49
        ON_AIR("OnAir"),
50
        UNDERWATER("Underwater");
51
    }
52
}
53