SeeInvisibles module

SeeInvisibles: Minecraft 26.3 cheat module, full source for every implementation (1 client: Combatant).

1 implementationVISUALS

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.

CombatantVISUALSsrc/main/java/combatant/client/features/module/modules/visuals/SeeInvisibles.javaJava · 46 lines · 1.5 KB
SettingsseeInvisiblesAlpha
SeeInvisibles.javaJava · Minecraft 26.2 · 46 lines · 1.5 KB · complete file, verbatimOriginal ↗
1
/*
2
 * This file is part of the Combatant Client distribution.
3
 * Copyright (c) 2026 pivosos2007.
4
 *
5
 * Licensed under the GNU General Public License v3.0.
6
 */
7
8
package combatant.client.features.module.modules.visuals;
9
10
import net.minecraft.util.Mth;
11
import net.minecraft.world.entity.EntityType;
12
import net.minecraft.world.entity.LivingEntity;
13
import net.minecraft.world.entity.player.Player;
14
import combatant.client.config.values.NumberValue;
15
import combatant.client.features.module.Module;
16
import combatant.client.features.module.ModuleCategory;
17
import combatant.client.features.module.ModuleInfo;
18
19
//todo Description
20
@ModuleInfo(
21
        id = "seeinvisibles",
22
        displayName = "SeeInvisibles",
23
        category = ModuleCategory.VISUALS
24
)
25
public class SeeInvisibles extends Module {
26
27
    private final NumberValue<Integer> alpha = num("seeInvisiblesAlpha", "alpha", 110, 0, 255);
28
29
    public boolean shouldRenderInvisiblePlayer(LivingEntity entity) {
30
        return isEnabled() && entity instanceof Player && entity.isInvisible();
31
    }
32
33
    public boolean shouldRenderInvisiblePlayer(EntityType<?> entityType, boolean invisible) {
34
        return isEnabled() && invisible && entityType == net.minecraft.world.entity.EntityTypes.PLAYER;
35
    }
36
37
    public int getInvisiblePlayerTintArgb() {
38
        int alphaByte = Mth.clamp(alpha.get(), 0, 255);
39
        return (alphaByte << 24) | 0x00FFFFFF;
40
    }
41
42
    public float getInvisiblePlayerAlpha01() {
43
        return Mth.clamp(alpha.get(), 0, 255) / 255.0f;
44
    }
45
}
46