auto-respawn module

auto-respawn: Minecraft 26.3 cheat module, full source for every implementation (1 client: Meteor Client).

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.

Meteor ClientPlayersrc/main/java/meteordevelopment/meteorclient/systems/modules/player/AutoRespawn.javaJava · 31 lines · 1.1 KB

Automatically respawns after death.

AutoRespawn.javaJava · Minecraft 26.2 · 31 lines · 1.1 KB · complete file, verbatimOriginal ↗
1
/*
2
 * This file is part of the Meteor Client distribution (https://github.com/MeteorDevelopment/meteor-client).
3
 * Copyright (c) Meteor Development.
4
 */
5
6
package meteordevelopment.meteorclient.systems.modules.player;
7
8
import meteordevelopment.meteorclient.events.game.OpenScreenEvent;
9
import meteordevelopment.meteorclient.systems.modules.Categories;
10
import meteordevelopment.meteorclient.systems.modules.Module;
11
import meteordevelopment.meteorclient.systems.modules.Modules;
12
import meteordevelopment.meteorclient.systems.modules.render.WaypointsModule;
13
import meteordevelopment.orbit.EventHandler;
14
import meteordevelopment.orbit.EventPriority;
15
import net.minecraft.client.gui.screens.DeathScreen;
16
17
public class AutoRespawn extends Module {
18
    public AutoRespawn() {
19
        super(Categories.Player, "auto-respawn", "Automatically respawns after death.");
20
    }
21
22
    @EventHandler(priority = EventPriority.HIGH)
23
    private void onOpenScreenEvent(OpenScreenEvent event) {
24
        if (!(event.screen instanceof DeathScreen)) return;
25
26
        Modules.get().get(WaypointsModule.class).addDeath(mc.player.position());
27
        mc.player.respawn();
28
        event.cancel();
29
    }
30
}
31