PearlBlockThrow module

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

Allows you to throw pearl into blocks. (Sunrise)

PearlBlockThrow.javaJava · Minecraft 26.2 · 22 lines · 839 B · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.player;
2
3
import meteordevelopment.orbit.EventHandler;
4
import net.minecraft.network.protocol.game.ServerboundUseItemOnPacket;
5
import net.minecraft.world.InteractionHand;
6
import net.minecraft.world.item.Items;
7
import thunder.hack.events.impl.PacketEvent;
8
import thunder.hack.injection.accesors.IPlayerInteractBlockC2SPacket;
9
import thunder.hack.features.modules.Module;
10
11
public class PearlBlockThrow extends Module {
12
    public PearlBlockThrow() {
13
        super("PearlBlockThrow", Category.PLAYER);
14
    }
15
16
    @EventHandler
17
    public void onPackerSend(PacketEvent.Send event) {
18
        if (event.getPacket() instanceof ServerboundUseItemOnPacket p && mc.player.getMainHandItem().getItem() == Items.ENDER_PEARL)
19
            ((IPlayerInteractBlockC2SPacket) p).setHand(InteractionHand.OFF_HAND);
20
    }
21
}
22