- Status
- Offline
- Joined
- Jul 18, 2023
- Messages
- 707
- Reaction score
- 3
Prepare to witness your Minecraft world transform with our carefully curated assortment of mods, skins, and more. Whether you're seeking to amplify your creativity or embark on thrilling adventures, our sources will cater to all your needs. The possibilities are limitless, so embrace this opportunity to revolutionize your Minecraft journey!
SunriseKtLeave:
Code:
public class SunKtLeave extends Module {
private final ListSetting LeaveMode = new ListSetting("LeaveMode", "Normal", () -> true, "Normal", "AILeave");
private final NumberSetting HP = new NumberSetting("HP Leave", 4, 1, 20, 0.1f, () -> LeaveMode.currentMode.equalsIgnoreCase("AILeave"));
public static NumberSetting CordX = new NumberSetting("CordX", "Координаты X", 10000f, -15000f, 15000f, 10F);
public static NumberSetting CordZ = new NumberSetting("CordZ", "Координаты Z", 10000f, -15000f, 15000f, 10F);
Minecraft mc = Minecraft.getMinecraft();
public SunKtLeave() {
super("SunKtLeave", "телепортирует вас на рандомные координаты, на сервере SunRise", ModuleCategory.Movement);
addSettings(LeaveMode, CordX, CordZ, HP);
}
@EventTarget
public void onPreMotion(EventUpdate event) {
if (LeaveMode.currentMode.equals("Normal")) {
float endX = CordX.getCurrentValue();
float endZ = CordZ.getCurrentValue();
for (int i = 0; i <= 24; i++) {
mc.player.connection.sendPacket(new CPacketPlayer.Position(55555, 180.0, 55555, true));
}
for (int i = 0; i <= 24; i++) {
mc.player.connection.sendPacket(new CPacketPlayer.Position(endX, 180, endZ, true));
}
mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY + 0.121599998474121, mc.player.posZ, false));
mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY + 0.1623679977722166, mc.player.posZ, false));
mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY + 0.123920636336059, mc.player.posZ, false));
mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY + 0.0078422198694215, mc.player.posZ, false));
toggle();
}