ExtendedFirework module

ExtendedFirework: 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/exploit/ModuleExtendedFirework.ktKotlin · 59 lines · 2.0 KB

Extends the velocity of firework rocket boost.

SettingsVelocityMultiplier
ModuleExtendedFirework.ktKotlin · Minecraft 26.2 · 59 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
20
@file:Suppress("MaxLineLength")
21
22
package net.ccbluex.liquidbounce.features.module.modules.exploit
23
24
import net.ccbluex.liquidbounce.config.types.group.Mode
25
import net.ccbluex.liquidbounce.features.module.ClientModule
26
import net.ccbluex.liquidbounce.features.module.ModuleCategories
27
import net.minecraft.world.phys.Vec3
28
29
/**
30
 * Extends the velocity of firework rocket boost
31
 *
32
 * @author sqlerrorthing
33
 * @see net.ccbluex.liquidbounce.injection.mixins.minecraft.entity.projectile.MixinFireworkRocketEntity.hookExtendedFirework
34
 */
35
object ModuleExtendedFirework : ClientModule("ExtendedFirework", ModuleCategories.MOVEMENT) {
36
    private val mode = choices("Mode", Normal, arrayOf(Normal, Custom))
37
38
    internal object Normal : Multiplier("Normal") {
39
        override val velocityMultiplier = Vec3(0.1, 1.65, 0.5)
40
    }
41
42
    internal object Custom : Multiplier("Custom") {
43
        override val velocityMultiplier by vec3d(
44
            "VelocityMultiplier",
45
            Normal.velocityMultiplier,
46
            useLocateButton = false,
47
        )
48
    }
49
50
    internal sealed class Multiplier(name: String) : Mode(name) {
51
        override val parent get() = mode
52
53
        abstract val velocityMultiplier: Vec3
54
    }
55
56
    @JvmStatic
57
    val velocityMultiplier get() = mode.activeMode.velocityMultiplier
58
}
59