- Status
- Offline
- Joined
- Jul 18, 2023
- Messages
- 707
- Reaction score
- 3
Embrace a world where the extraordinary becomes ordinary and the impossible becomes possible! Enter the realm of "Wexside" - your passport to extraordinary escapades and limitless creativity. Unleash your imagination and embark on a Minecraft journey like no other! Our handpicked selection of resources ensures that your visions and dreams can be fully realized.
CODE:
JavaScript:package ru.wendoxd.modules.impl.player; import ru.wendoxd.events.Event; import ru.wendoxd.modules.Module; import ru.wendoxd.ui.menu.elements.Frame; import ru.wendoxd.ui.menu.elements.tabelements.CheckBox; import ru.wendoxd.ui.menu.elements.tabelements.PrimaryButton; import ru.wendoxd.ui.menu.utils.MenuAPI; import ru.wendoxd.utils.misc.ChatUtils; public class SunLeave extends Module { private Frame SunLeave_frame = new Frame("SunLeave"); private final CheckBox deathcoords = (new CheckBox("SunLeave")).markArrayList("SunLeave"); public int lastX; public int lastY; public int lastZ; protected void initSettings() { this.deathcoords.markSetting("SunLeave"); this.SunLeave_frame.register((PrimaryButton)this.deathcoords); MenuAPI.player.register(this.SunLeave_frame); } public void onEvent(Event event) throws InterruptedException { if (event instanceof ru.wendoxd.events.impl.player.EventUpdate && this.deathcoords.isEnabled(false) && mc.currentScreen instanceof net.minecraft.client.gui.GuiGameOver) { int x = mc.player.getPosition().getX(); int y = mc.player.getPosition().getY(); int z = mc.player.getPosition().getZ(); if (this.lastX != x || this.lastY != y || this.lastZ != z) { ChatUtils.addChatMessage("[hydra] SunRise Leave - ON"); mc.player.sendChatMessage("/heal"); mc.player.sendChatMessage("/tpyes"); this.lastX = x; this.lastY = y; this.lastZ = z; Thread.sleep(40L); } } } }