AntiLegitMiss module

AntiLegitMiss: Minecraft 26.3 cheat module, full source for every implementation (1 client: MelaHack (ThunderHack fork)).

1 implementationCOMBAT

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.

MelaHack (ThunderHack fork)COMBATsrc/main/java/thunder/hack/features/modules/combat/AntiLegitMiss.javaJava · 26 lines · 747 B

Cancels a hit if you're not aiming at the object you're trying to hit.

AntiLegitMiss.javaJava · Minecraft 26.2 · 26 lines · 747 B · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.combat;
2
3
import meteordevelopment.orbit.EventHandler;
4
import net.minecraft.world.phys.EntityHitResult;
5
import thunder.hack.events.impl.EventAttack;
6
import thunder.hack.events.impl.EventHandleBlockBreaking;
7
import thunder.hack.features.modules.Module;
8
9
public class AntiLegitMiss extends Module {
10
    public AntiLegitMiss() {
11
        super("AntiLegitMiss", Category.COMBAT);
12
    }
13
14
    @EventHandler
15
    public void onAttack(EventAttack e) {
16
        if (!(mc.hitResult instanceof EntityHitResult) && e.isPre())
17
            e.cancel();
18
    }
19
20
    @EventHandler
21
    public void onBlockBreaking(EventHandleBlockBreaking e) {
22
        if (!(mc.hitResult instanceof EntityHitResult))
23
            e.cancel();
24
    }
25
}
26