NoServerSlot module

NoServerSlot: 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/NoServerSlot.javaJava · 22 lines · 761 B

Prevents the server from changing your hotbar slot.

NoServerSlot.javaJava · Minecraft 26.2 · 22 lines · 761 B · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.player;
2
3
import meteordevelopment.orbit.EventHandler;
4
import net.minecraft.network.protocol.game.ClientboundSetHeldSlotPacket;
5
import net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket;
6
import thunder.hack.events.impl.PacketEvent;
7
import thunder.hack.features.modules.Module;
8
9
public class NoServerSlot extends Module {
10
    public NoServerSlot() {
11
        super("NoServerSlot", Category.PLAYER);
12
    }
13
14
    @EventHandler
15
    public void onPacketReceive(PacketEvent.Receive event) {
16
        if (event.getPacket() instanceof ClientboundSetHeldSlotPacket) {
17
            event.cancel();
18
            sendPacket(new ServerboundSetCarriedItemPacket(mc.player.getInventory().getSelectedSlot()));
19
        }
20
    }
21
}
22