SoundFX module

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

1 implementationCLIENT

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)CLIENTsrc/main/java/thunder/hack/features/modules/client/SoundFX.javaJava · 60 lines · 2.0 KB

Changes different sounds in the game.

SettingsVolumeEnableModeDisableModeHitSoundKillSoundScrollSound
SoundFX.javaJava · Minecraft 26.2 · 60 lines · 2.0 KB · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.client;
2
3
import meteordevelopment.orbit.EventHandler;
4
import org.jetbrains.annotations.NotNull;
5
import thunder.hack.core.Managers;
6
import thunder.hack.events.impl.EventDeath;
7
import thunder.hack.events.impl.EventAttack;
8
import thunder.hack.features.modules.Module;
9
import thunder.hack.features.modules.combat.Aura;
10
import thunder.hack.features.modules.combat.AutoCrystal;
11
import thunder.hack.setting.Setting;
12
13
public final class SoundFX extends Module {
14
    public SoundFX() {
15
        super("SoundFX", Category.CLIENT);
16
    }
17
18
    public final Setting<Integer> volume = new Setting<>("Volume", 100, 0, 100);
19
    public final Setting<OnOffSound> enableMode = new Setting<>("EnableMode", OnOffSound.Inertia);
20
    public final Setting<OnOffSound> disableMode = new Setting<>("DisableMode", OnOffSound.Inertia);
21
    public final Setting<HitSound> hitSound = new Setting<>("HitSound", HitSound.OFF);
22
    public final Setting<KillSound> killSound = new Setting<>("KillSound", KillSound.OFF);
23
    public final Setting<ScrollSound> scrollSound = new Setting<>("ScrollSound", ScrollSound.KeyBoard);
24
25
    @EventHandler
26
    @SuppressWarnings("unused")
27
    public void onAttack(@NotNull EventAttack event) {
28
        if (!event.isPre())
29
            Managers.SOUND.playHitSound(hitSound.getValue());
30
    }
31
32
    @EventHandler
33
    @SuppressWarnings("unused")
34
    public void onDeath(EventDeath e) {
35
        if (Aura.target != null && Aura.target == e.getPlayer() && killSound.is(KillSound.Custom)) {
36
            Managers.SOUND.playSound("kill");
37
            return;
38
        }
39
        if (AutoCrystal.target != null && AutoCrystal.target == e.getPlayer() && killSound.is(KillSound.Custom)) {
40
            Managers.SOUND.playSound("kill");
41
        }
42
    }
43
44
    public enum OnOffSound {
45
        Custom, Inertia, OFF
46
    }
47
48
    public enum HitSound {
49
        UWU, MOAN, SKEET, RIFK, KEYBOARD, CUTIE, CUSTOM, OFF
50
    }
51
52
    public enum KillSound {
53
        Custom, OFF
54
    }
55
56
    public enum ScrollSound {
57
        Custom, OFF, KeyBoard
58
    }
59
}
60