blob: a9b2b7b44cc8e143ee20f5b63d5ff2da67250248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.arslaancodes.arslaansmagichax.modules.impl;
import com.arslaancodes.arslaansmagichax.ArslaansMagicHaxClient;
import com.arslaancodes.arslaansmagichax.modules.Category;
import com.arslaancodes.arslaansmagichax.modules.Module;
import net.minecraft.ChatFormatting;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.sounds.SoundEvent;
public class GUN extends Module {
public GUN() {
super("G U N", "NoAttackCooldown + Criticals + AutoClicker = G U N", -1, Category.COMBAT);
}
@Override
protected void onEnable() {
ArslaansMagicHaxClient.clickGUI.setEnabled(false);
ArslaansMagicHaxClient.noAttackCooldown.setEnabled(true);
ArslaansMagicHaxClient.criticals.setEnabled(true);
ArslaansMagicHaxClient.autoClicker.setEnabled(true);
this.setEnabled(false);
if (mc.player != null) {
mc.player.displayClientMessage(Component.literal("[G U N] Enabled NoAttackCooldown, Criticals, AutoClicker"), false);
mc.player.displayClientMessage(Component.literal("[G U N] Disabled ClickGUI & self (this is a macro module)"), false);
mc.gui.setTitle(Component.literal("G U N").withStyle(ChatFormatting.RED));
mc.gui.setSubtitle(Component.literal("THE POWER").withStyle(ChatFormatting.YELLOW));
mc.player.displayClientMessage(Component.literal("Tip: when using G U N, if there is no anticheat set AutoClicker mode to NoDelay"), true);
mc.player.playSound(SoundEvent.createVariableRangeEvent(ResourceLocation.parse("minecraft:entity.evoker.prepare_wololo")), 100, 1);
}
}
}
|