Hats module

Hats: 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/hats/ModuleHats.ktKotlin · 62 lines · 2.1 KB

Render a hat above the player's head.

ModuleHats.ktKotlin · Minecraft 26.2 · 62 lines · 2.1 KB · complete file, verbatimOriginal ↗
1
/*
2
 * This file is part of LiquidBounce (https://github.com/CCBlueX/LiquidBounce)
3
 *
4
 * Copyright (c) 2015 - 2025 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
package net.ccbluex.liquidbounce.features.module.modules.render.hats
21
22
import net.ccbluex.liquidbounce.features.module.ClientModule
23
import net.ccbluex.liquidbounce.features.module.ModuleCategories
24
import net.ccbluex.liquidbounce.features.module.modules.render.hats.modes.HatsCone
25
import net.ccbluex.liquidbounce.features.module.modules.render.hats.modes.HatsFlower
26
import net.ccbluex.liquidbounce.features.module.modules.render.hats.modes.HatsHalo
27
import net.ccbluex.liquidbounce.features.module.modules.render.hats.modes.HatsImage
28
import net.ccbluex.liquidbounce.features.module.modules.render.hats.modes.HatsOrbs
29
import net.ccbluex.liquidbounce.features.module.modules.render.hats.modes.HatsStar
30
import net.ccbluex.liquidbounce.render.utils.AnimatedValueGroup
31
import org.joml.Vector2f
32
33
/**
34
 * @author minecrrrr
35
 */
36
object ModuleHats : ClientModule("Hats", ModuleCategories.RENDER) {
37
38
    object HeightOffset : AnimatedValueGroup("HeightOffset") {
39
        override val curve = curve("Height") {
40
            "Progress" x 0f..1f
41
            "Offset" y 0f..2f
42
            points(Vector2f(0f, 0.2f), Vector2f(1f, 0.2f))
43
        }
44
    }
45
46
    init {
47
        tree(HeightOffset)
48
    }
49
50
    val modes = choices("Mode", 0) {
51
        arrayOf(
52
            HatsCone,
53
            HatsHalo,
54
            HatsOrbs,
55
            HatsFlower,
56
            HatsStar,
57
            HatsImage,
58
        )
59
    }.apply { tagBy(this) }
60
61
}
62