AutoSex module

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

1 implementationPLAYER

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)PLAYERsrc/main/java/thunder/hack/features/modules/player/AutoSex.javaJava · 88 lines · 3.0 KB

Makes sex automatically (06ED idea).

SettingsTarget RangeSex ModeMessage Delay
AutoSex.javaJava · Minecraft 26.2 · 88 lines · 3.0 KB · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.player;
2
3
import thunder.hack.core.Managers;
4
import thunder.hack.core.manager.client.ModuleManager;
5
import thunder.hack.features.modules.Module;
6
import thunder.hack.features.modules.client.Religion;
7
import thunder.hack.setting.Setting;
8
import thunder.hack.utility.Timer;
9
import thunder.hack.utility.math.MathUtility;
10
11
import java.util.Arrays;
12
import java.util.List;
13
import net.minecraft.world.entity.player.Player;
14
15
import static thunder.hack.features.modules.client.ClientSettings.isRu;
16
17
public class AutoSex extends Module {
18
    private final Setting<Integer> targetRange = new Setting<>("Target Range", 5, 1, 10);
19
    private final Setting<SexMode> mode = new Setting<>("Sex Mode", SexMode.Active);
20
    private final Setting<Integer> msgDelay = new Setting<>("Message Delay", 1, 0, 50);
21
22
    private enum SexMode {
23
        Active,
24
        Passive
25
    }
26
27
    private static final String[] PASSIVE_MESSAGES = {
28
            "It's so Biiiiiiig",
29
            "Be careful daddy <3",
30
            "Oh, I feel it inside me!"
31
    };
32
    private static final String[] ACTIVE_MESSAGES = {
33
            "Oh, I'm cumming!",
34
            "Oh, ur pussy is so nice!",
35
            "Yeah, yeah",
36
            "I feel u!",
37
            "Oh, im inside u"
38
    };
39
40
    private Player target;
41
    private final Timer messageTimer = new Timer();
42
    private final Timer sneakTimer = new Timer();
43
44
    public AutoSex() {
45
        super("AutoSex", Category.PLAYER);
46
    }
47
48
    @Override
49
    public void onEnable() {
50
        if (ModuleManager.religion.isOn() && ModuleManager.religion.ReligionSetting.is(Religion.YourReligion.Christianity)) {
51
            ModuleManager.religion.sendMessage(isRu() ? "Не пролюбодействуй!" : "Do not do adulty!");
52
            disable();
53
        }
54
    }
55
56
    @Override
57
    public void onUpdate() {
58
        if (fullNullCheck()) return;
59
        if (target == null) {
60
            target = Managers.COMBAT.getNearestTarget(targetRange.getValue());
61
            return;
62
        }
63
        if (target.position().distanceToSqr(mc.player.position()) >= targetRange.getPow2Value()) {
64
            target = null;
65
            return;
66
        }
67
68
        switch (mode.getValue()) {
69
            case Active -> {
70
                if (sneakTimer.passedMs((long) MathUtility.random(200, 1200))) {
71
                    mc.options.keyShift.setDown(!mc.options.keyShift.isDown());
72
                    sneakTimer.reset();
73
                }
74
            }
75
            case Passive -> {
76
                if (!mc.options.keyShift.isDown())
77
                    mc.options.keyShift.setDown(true);
78
            }
79
        }
80
81
        if (messageTimer.passedMs(msgDelay.getValue() * 1000) && mc.getConnection() != null) {
82
            List<String> messages = Arrays.stream(mode.getValue() == SexMode.Active ? ACTIVE_MESSAGES : PASSIVE_MESSAGES).toList();
83
            mc.getConnection().sendCommand("msg " + target.getName().getString() + " " + messages.get((int) (Math.random() * messages.size())));
84
            messageTimer.reset();
85
        }
86
    }
87
}
88