ProphuntESP module

ProphuntESP: 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/ModuleProphuntESP.ktKotlin · 82 lines · 3.1 KB

Shows you props in Prophunt.

SettingsTracking
ModuleProphuntESP.ktKotlin · Minecraft 26.2 · 82 lines · 3.1 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
20
21
import net.ccbluex.liquidbounce.config.types.list.Tagged
22
import net.ccbluex.liquidbounce.event.events.GameTickEvent
23
import net.ccbluex.liquidbounce.event.events.PacketEvent
24
import net.ccbluex.liquidbounce.event.handler
25
import net.ccbluex.liquidbounce.features.module.ClientModule
26
import net.ccbluex.liquidbounce.features.module.ModuleCategories
27
import net.ccbluex.liquidbounce.render.engine.type.Color4b
28
import net.ccbluex.liquidbounce.utils.render.placement.PlacementRenderer
29
import net.ccbluex.liquidbounce.utils.world.entityGetter
30
import net.ccbluex.liquidbounce.utils.world.forEach
31
import net.minecraft.network.protocol.game.ClientboundBlockUpdatePacket
32
import net.minecraft.network.protocol.game.ClientboundSectionBlocksUpdatePacket
33
import net.minecraft.world.entity.EntityTypes
34
35
object ModuleProphuntESP : ClientModule("ProphuntESP", ModuleCategories.RENDER,
36
    aliases = listOf("BlockUpdateDetector", "FallingBlockESP")
37
) {
38
39
    private val renderer = PlacementRenderer("RenderBlockUpdates", true, this,
40
        defaultColor = Color4b(255, 179, 72, 90), keep = false
41
    )
42
43
    private val tracking by multiEnumChoice("Tracking", Tracking.entries, canBeNone = false)
44
45
    private enum class Tracking(override val tag: String): Tagged {
46
        FALLING_BLOCKS("FallingBlocks"),
47
        BLOCK_UPDATES("BlockUpdates"),
48
        CHUNK_DELTA_UPDATES("ChunkDeltaUpdates"),
49
    }
50
51
    init {
52
        tree(renderer)
53
    }
54
55
    override fun onDisabled() {
56
        renderer.clearSilently()
57
    }
58
59
    @Suppress("unused")
60
    private val tickHandler = handler<GameTickEvent> {
61
        if (Tracking.FALLING_BLOCKS in tracking) {
62
            world.entityGetter.forEach(EntityTypes.FALLING_BLOCK) {
63
                renderer.addBlock(it.blockPosition(), update = false)
64
            }
65
        }
66
        renderer.updateAll()
67
    }
68
69
    @Suppress("unused")
70
    private val networkHandler = handler<PacketEvent> { event ->
71
        when (val packet = event.packet) {
72
            is ClientboundBlockUpdatePacket if Tracking.BLOCK_UPDATES in tracking -> mc.execute {
73
                renderer.addBlock(packet.pos, update = false)
74
            }
75
76
            is ClientboundSectionBlocksUpdatePacket if Tracking.CHUNK_DELTA_UPDATES in tracking -> mc.execute {
77
                packet.runUpdates { pos, _ -> renderer.addBlock(pos, update = false) }
78
            }
79
        }
80
    }
81
}
82