Aura module

Aura: Minecraft 26.3 cheat module, full source for every implementation (1 client: MelaHack (ThunderHack fork)).

1 implementationCOMBAT

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)COMBATsrc/main/java/thunder/hack/features/modules/combat/Aura.javaJava · 923 lines · 43.6 KB

Automatically attacks entities.

SettingsRangeThroughWallsRangeElytraOverrideElytraRangeElytraThroughWallsRangeWallsBypassFOVRotationModeInteractTicksAutoWeaponOnlyWeaponSmartCritOnlyCritAutoJumpShieldBreakerPauseWhileEatingTPSSyncClientLookPauseBaritoneOldDelayMinCPSMaxCPSESPESPSettingsESPLengthESPFactorESPShakingESPAmplitudeSortLockTargetElytraTargetAdvancedAimRangeRandomHitDelayPauseInInventoryDropSprintReturnSprintRayTraceGrimRayTraceUnpressShield
Aura.javaJava · Minecraft 26.2 · 923 lines · 43.6 KB · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.combat;
2
3
import thunder.hack.utility.BaritoneIntegration;
4
import com.mojang.blaze3d.vertex.PoseStack;
5
import meteordevelopment.orbit.EventHandler;
6
import net.minecraft.world.InteractionHand;
7
import net.minecraft.world.effect.MobEffects;
8
import net.minecraft.world.entity.Entity;
9
import net.minecraft.world.entity.LivingEntity;
10
import net.minecraft.world.entity.Mob;
11
import net.minecraft.world.entity.ai.attributes.Attributes;
12
import net.minecraft.world.entity.animal.Animal;
13
import net.minecraft.world.entity.animal.feline.Cat;
14
import net.minecraft.world.entity.decoration.ArmorStand;
15
import net.minecraft.world.entity.monster.Monster;
16
import net.minecraft.world.entity.monster.cubemob.Slime;
17
import net.minecraft.world.entity.npc.villager.Villager;
18
import net.minecraft.world.entity.player.Player;
19
import net.minecraft.world.entity.projectile.Projectile;
20
import net.minecraft.world.entity.projectile.ShulkerBullet;
21
import net.minecraft.world.entity.projectile.hurtingprojectile.LargeFireball;
22
import net.minecraft.world.inventory.ContainerInput;
23
import net.minecraft.world.item.*;
24
import net.minecraft.world.level.block.Blocks;
25
import net.minecraft.network.protocol.game.*;
26
import net.minecraft.tags.ItemTags;
27
import net.minecraft.util.Mth;
28
import net.minecraft.client.player.RemotePlayer;
29
import net.minecraft.core.*;
30
import net.minecraft.world.phys.*;
31
import org.jetbrains.annotations.NotNull;
32
import thunder.hack.ThunderHack;
33
import thunder.hack.core.Core;
34
import thunder.hack.core.Managers;
35
import thunder.hack.core.manager.client.ModuleManager;
36
import thunder.hack.events.impl.EventSync;
37
import thunder.hack.events.impl.PacketEvent;
38
import thunder.hack.events.impl.PlayerUpdateEvent;
39
import thunder.hack.gui.notification.Notification;
40
import thunder.hack.injection.accesors.ILivingEntity;
41
import thunder.hack.injection.accesors.IEntity;
42
import thunder.hack.features.modules.Module;
43
import thunder.hack.features.modules.client.HudEditor;
44
import thunder.hack.setting.Setting;
45
import thunder.hack.setting.impl.BooleanSettingGroup;
46
import thunder.hack.setting.impl.SettingGroup;
47
import thunder.hack.utility.Timer;
48
import thunder.hack.utility.interfaces.IOtherClientPlayerEntity;
49
import thunder.hack.utility.math.MathUtility;
50
import thunder.hack.utility.player.InteractionUtility;
51
import thunder.hack.utility.player.InventoryUtility;
52
import thunder.hack.utility.player.PlayerUtility;
53
import thunder.hack.utility.player.SearchInvResult;
54
import thunder.hack.utility.render.Render2DEngine;
55
import thunder.hack.utility.render.Render3DEngine;
56
import thunder.hack.utility.render.animation.CaptureMark;
57
58
import java.util.Comparator;
59
import java.util.List;
60
import java.util.Objects;
61
import java.util.concurrent.CopyOnWriteArrayList;
62
63
import static net.minecraft.world.item.ItemUseAnimation.BLOCK;
64
import static net.minecraft.util.Mth.wrapDegrees;
65
import static thunder.hack.features.modules.client.ClientSettings.isRu;
66
import static thunder.hack.utility.math.MathUtility.random;
67
68
public class Aura extends Module {
69
    public final Setting<Float> attackRange = new Setting<>("Range", 3.1f, 1f, 6.0f);
70
    public final Setting<Float> wallRange = new Setting<>("ThroughWallsRange", 3.1f, 0f, 6.0f);
71
    public final Setting<Boolean> elytra = new Setting<>("ElytraOverride",false);
72
    public final Setting<Float> elytraAttackRange = new Setting<>("ElytraRange", 3.1f, 1f, 6.0f, v -> elytra.getValue());
73
    public final Setting<Float> elytraWallRange = new Setting<>("ElytraThroughWallsRange", 3.1f, 0f, 6.0f,v -> elytra.getValue());
74
    public final Setting<WallsBypass> wallsBypass = new Setting<>("WallsBypass", WallsBypass.Off, v -> getWallRange() > 0);
75
    public final Setting<Integer> fov = new Setting<>("FOV", 180, 1, 180);
76
    public final Setting<Mode> rotationMode = new Setting<>("RotationMode", Mode.Track);
77
    public final Setting<Integer> interactTicks = new Setting<>("InteractTicks", 3, 1, 10, v -> rotationMode.getValue() == Mode.Interact);
78
    public final Setting<Switch> switchMode = new Setting<>("AutoWeapon", Switch.None);
79
    public final Setting<Boolean> onlyWeapon = new Setting<>("OnlyWeapon", false, v -> switchMode.getValue() != Switch.Silent);
80
    public final Setting<BooleanSettingGroup> smartCrit = new Setting<>("SmartCrit", new BooleanSettingGroup(true));
81
    public final Setting<Boolean> onlySpace = new Setting<>("OnlyCrit", false).addToGroup(smartCrit);
82
    public final Setting<Boolean> autoJump = new Setting<>("AutoJump", false).addToGroup(smartCrit);
83
    public final Setting<Boolean> shieldBreaker = new Setting<>("ShieldBreaker", true);
84
    public final Setting<Boolean> pauseWhileEating = new Setting<>("PauseWhileEating", false);
85
    public final Setting<Boolean> tpsSync = new Setting<>("TPSSync", false);
86
    public final Setting<Boolean> clientLook = new Setting<>("ClientLook", false);
87
    public final Setting<Boolean> pauseBaritone = new Setting<>("PauseBaritone", false);
88
    public final Setting<BooleanSettingGroup> oldDelay = new Setting<>("OldDelay", new BooleanSettingGroup(false));
89
    public final Setting<Integer> minCPS = new Setting<>("MinCPS", 7, 1, 20).addToGroup(oldDelay);
90
    public final Setting<Integer> maxCPS = new Setting<>("MaxCPS", 12, 1, 20).addToGroup(oldDelay);
91
92
    public final Setting<ESP> esp = new Setting<>("ESP", ESP.ThunderHack);
93
    public final Setting<SettingGroup> espGroup = new Setting<>("ESPSettings", new SettingGroup(false, 0), v -> esp.is(ESP.ThunderHackV2));
94
    public final Setting<Integer> espLength = new Setting<>("ESPLength", 14, 1, 40, v -> esp.is(ESP.ThunderHackV2)).addToGroup(espGroup);
95
    public final Setting<Integer> espFactor = new Setting<>("ESPFactor", 8, 1, 20, v -> esp.is(ESP.ThunderHackV2)).addToGroup(espGroup);
96
    public final Setting<Float> espShaking = new Setting<>("ESPShaking", 1.8f, 1.5f, 10f, v -> esp.is(ESP.ThunderHackV2)).addToGroup(espGroup);
97
    public final Setting<Float> espAmplitude = new Setting<>("ESPAmplitude", 3f, 0.1f, 8f, v -> esp.is(ESP.ThunderHackV2)).addToGroup(espGroup);
98
99
    public final Setting<Sort> sort = new Setting<>("Sort", Sort.LowestDistance);
100
    public final Setting<Boolean> lockTarget = new Setting<>("LockTarget", true);
101
    public final Setting<Boolean> elytraTarget = new Setting<>("ElytraTarget", true);
102
103
    /*   ADVANCED   */
104
    public final Setting<SettingGroup> advanced = new Setting<>("Advanced", new SettingGroup(false, 0));
105
    public final Setting<Float> aimRange = new Setting<>("AimRange", 3.1f, 0f, 6.0f).addToGroup(advanced);
106
    public final Setting<Boolean> randomHitDelay = new Setting<>("RandomHitDelay", false).addToGroup(advanced);
107
    public final Setting<Boolean> pauseInInventory = new Setting<>("PauseInInventory", true).addToGroup(advanced);
108
    public final Setting<Boolean> dropSprint = new Setting<>("DropSprint", true).addToGroup(advanced);
109
    public final Setting<Boolean> returnSprint = new Setting<>("ReturnSprint", true, v -> dropSprint.getValue()).addToGroup(advanced);
110
    public final Setting<RayTrace> rayTrace = new Setting<>("RayTrace", RayTrace.OnlyTarget).addToGroup(advanced);
111
    public final Setting<Boolean> grimRayTrace = new Setting<>("GrimRayTrace", true).addToGroup(advanced);
112
    public final Setting<Boolean> unpressShield = new Setting<>("UnpressShield", true).addToGroup(advanced);
113
    public final Setting<Boolean> deathDisable = new Setting<>("DisableOnDeath", true).addToGroup(advanced);
114
    public final Setting<Boolean> tpDisable = new Setting<>("TPDisable", false).addToGroup(advanced);
115
    public final Setting<Boolean> pullDown = new Setting<>("FastFall", false).addToGroup(advanced);
116
    public final Setting<Boolean> onlyJumpBoost = new Setting<>("OnlyJumpBoost", false, v -> pullDown.getValue()).addToGroup(advanced);
117
    public final Setting<Float> pullValue = new Setting<>("PullValue", 3f, 0f, 20f, v -> pullDown.getValue()).addToGroup(advanced);
118
    public final Setting<AttackHand> attackHand = new Setting<>("AttackHand", AttackHand.MainHand).addToGroup(advanced);
119
    public final Setting<Resolver> resolver = new Setting<>("Resolver", Resolver.Advantage).addToGroup(advanced);
120
    public final Setting<Integer> backTicks = new Setting<>("BackTicks", 4, 1, 20, v -> resolver.is(Resolver.BackTrack)).addToGroup(advanced);
121
    public final Setting<Boolean> resolverVisualisation = new Setting<>("ResolverVisualisation", false, v -> !resolver.is(Resolver.Off)).addToGroup(advanced);
122
    public final Setting<AccelerateOnHit> accelerateOnHit = new Setting<>("AccelerateOnHit", AccelerateOnHit.Off).addToGroup(advanced);
123
    public final Setting<Integer> minYawStep = new Setting<>("MinYawStep", 65, 1, 180).addToGroup(advanced);
124
    public final Setting<Integer> maxYawStep = new Setting<>("MaxYawStep", 75, 1, 180).addToGroup(advanced);
125
    public final Setting<Float> aimedPitchStep = new Setting<>("AimedPitchStep", 1f, 0f, 90f).addToGroup(advanced);
126
    public final Setting<Float> maxPitchStep = new Setting<>("MaxPitchStep", 8f, 1f, 90f).addToGroup(advanced);
127
    public final Setting<Float> pitchAccelerate = new Setting<>("PitchAccelerate", 1.65f, 1f, 10f).addToGroup(advanced);
128
    public final Setting<Float> attackCooldown = new Setting<>("AttackCooldown", 0.9f, 0.5f, 1f).addToGroup(advanced);
129
    public final Setting<Float> attackBaseTime = new Setting<>("AttackBaseTime", 0.5f, 0f, 2f).addToGroup(advanced);
130
    public final Setting<Integer> attackTickLimit = new Setting<>("AttackTickLimit", 11, 0, 20).addToGroup(advanced);
131
    public final Setting<Float> critFallDistance = new Setting<>("CritFallDistance", 0f, 0f, 1f).addToGroup(advanced);
132
133
134
    /*   TARGETS   */
135
    public final Setting<SettingGroup> targets = new Setting<>("Targets", new SettingGroup(false, 0));
136
    public final Setting<Boolean> Players = new Setting<>("Players", true).addToGroup(targets);
137
    public final Setting<Boolean> Mobs = new Setting<>("Mobs", true).addToGroup(targets);
138
    public final Setting<Boolean> Animals = new Setting<>("Animals", true).addToGroup(targets);
139
    public final Setting<Boolean> Villagers = new Setting<>("Villagers", true).addToGroup(targets);
140
    public final Setting<Boolean> Slimes = new Setting<>("Slimes", true).addToGroup(targets);
141
    public final Setting<Boolean> hostiles = new Setting<>("Hostiles", true).addToGroup(targets);
142
    public final Setting<Boolean> onlyAngry = new Setting<>("OnlyAngryHostiles", true, v -> hostiles.getValue()).addToGroup(targets);
143
    public final Setting<Boolean> Projectiles = new Setting<>("Projectiles", true).addToGroup(targets);
144
    public final Setting<Boolean> ignoreInvisible = new Setting<>("IgnoreInvisibleEntities", false).addToGroup(targets);
145
    public final Setting<Boolean> ignoreNamed = new Setting<>("IgnoreNamed", false).addToGroup(targets);
146
    public final Setting<Boolean> ignoreTeam = new Setting<>("IgnoreTeam", false).addToGroup(targets);
147
    public final Setting<Boolean> ignoreCreative = new Setting<>("IgnoreCreative", true).addToGroup(targets);
148
    public final Setting<Boolean> ignoreNaked = new Setting<>("IgnoreNaked", false).addToGroup(targets);
149
    public final Setting<Boolean> ignoreShield = new Setting<>("AttackShieldingEntities", true).addToGroup(targets);
150
151
    public static Entity target;
152
153
    public float rotationYaw;
154
    public float rotationPitch;
155
    public float pitchAcceleration = 1f;
156
157
    private Vec3 rotationPoint = Vec3.ZERO;
158
    private Vec3 rotationMotion = Vec3.ZERO;
159
160
    private int hitTicks;
161
    private int trackticks;
162
    private boolean lookingAtHitbox;
163
164
    private final Timer delayTimer = new Timer();
165
    private final Timer pauseTimer = new Timer();
166
167
    public AABB resolvedBox;
168
    static boolean wasTargeted = false;
169
170
    public Aura() {
171
        super("Aura", Category.COMBAT);
172
    }
173
174
    private float getRange(){
175
        return elytra.getValue() && mc.player.isFallFlying() ? elytraAttackRange.getValue() : attackRange.getValue();
176
    }
177
    private float getWallRange(){
178
        return elytra.getValue() && mc.player != null && mc.player.isFallFlying() ? elytraWallRange.getValue() : wallRange.getValue();
179
    }
180
181
    public void auraLogic() {
182
        if (!haveWeapon()) {
183
            target = null;
184
            return;
185
        }
186
187
        handleKill();
188
        updateTarget();
189
190
        if (target == null) {
191
            return;
192
        }
193
194
        if (!mc.options.keyJump.isDown() && mc.player.onGround() && autoJump.getValue())
195
            mc.player.jumpFromGround();
196
197
        boolean readyForAttack;
198
199
        if (grimRayTrace.getValue()) {
200
            readyForAttack = autoCrit() && (lookingAtHitbox || skipRayTraceCheck());
201
            calcRotations(autoCrit());
202
        } else {
203
            calcRotations(autoCrit());
204
            readyForAttack = autoCrit() && (lookingAtHitbox || skipRayTraceCheck());
205
        }
206
207
        if (readyForAttack) {
208
            if (shieldBreaker(false))
209
                return;
210
211
            boolean[] playerState = preAttack();
212
            if (!(target instanceof Player pl) || !(pl.isUsingItem() && pl.getOffhandItem().getItem() == Items.SHIELD) || ignoreShield.getValue())
213
                attack();
214
215
            postAttack(playerState[0], playerState[1]);
216
        }
217
    }
218
219
    private boolean haveWeapon() {
220
        Item handItem = mc.player.getMainHandItem().getItem();
221
        if (onlyWeapon.getValue()) {
222
            if (switchMode.getValue() == Switch.None) {
223
                return mc.player.getMainHandItem().is(ItemTags.SWORDS) || handItem instanceof AxeItem || handItem instanceof TridentItem;
224
            } else {
225
                return (InventoryUtility.getSwordHotBar().found() || InventoryUtility.getAxeHotBar().found());
226
            }
227
        }
228
        return true;
229
    }
230
231
    private boolean skipRayTraceCheck() {
232
        return rotationMode.getValue() == Mode.None || rayTrace.getValue() == RayTrace.OFF
233
                || rotationMode.is(Mode.Grim)
234
                || (rotationMode.is(Mode.Interact) && (interactTicks.getValue() <= 1
235
                || mc.level.getBlockCollisions(mc.player, mc.player.getBoundingBox().inflate(-0.25, 0.0, -0.25).move(0.0, 1, 0.0)).iterator().hasNext()));
236
    }
237
238
    public void attack() {
239
        Criticals.cancelCrit = true;
240
        ModuleManager.criticals.doCrit();
241
        int prevSlot = switchMethod();
242
        mc.gameMode.attack(mc.player, target);
243
        Criticals.cancelCrit = false;
244
        swingHand();
245
        hitTicks = getHitTicks();
246
        if (prevSlot != -1)
247
            InventoryUtility.switchTo(prevSlot);
248
    }
249
250
    private boolean @NotNull [] preAttack() {
251
        boolean blocking = mc.player.isUsingItem() && mc.player.getUseItem().getItem().getUseAnimation(mc.player.getUseItem()) == BLOCK;
252
        if (blocking && unpressShield.getValue())
253
            sendPacket(new ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action.RELEASE_USE_ITEM, BlockPos.ZERO, Direction.DOWN));
254
255
        boolean sprint = Core.serverSprint;
256
        if (sprint && dropSprint.getValue())
257
            disableSprint();
258
259
        if (rotationMode.is(Mode.Grim))
260
            sendPacket(new ServerboundMovePlayerPacket.PosRot(mc.player.getX(), mc.player.getY(), mc.player.getZ(), rotationYaw, rotationPitch, mc.player.onGround(), mc.player.horizontalCollision));
261
262
        return new boolean[]{blocking, sprint};
263
    }
264
265
    public void postAttack(boolean block, boolean sprint) {
266
        if (sprint && returnSprint.getValue() && dropSprint.getValue())
267
            enableSprint();
268
269
        if (block && unpressShield.getValue())
270
            sendSequencedPacket(id -> new ServerboundUseItemPacket(InteractionHand.OFF_HAND, id, rotationYaw, rotationPitch));
271
272
        if (rotationMode.is(Mode.Grim))
273
            sendPacket(new ServerboundMovePlayerPacket.PosRot(mc.player.getX(), mc.player.getY(), mc.player.getZ(), mc.player.getYRot(), mc.player.getXRot(), mc.player.onGround(), mc.player.horizontalCollision));
274
    }
275
276
    private void disableSprint() {
277
        mc.player.setSprinting(false);
278
        mc.options.keySprint.setDown(false);
279
        sendPacket(new ServerboundPlayerCommandPacket(mc.player, ServerboundPlayerCommandPacket.Action.STOP_SPRINTING));
280
    }
281
282
    private void enableSprint() {
283
        mc.player.setSprinting(true);
284
        mc.options.keySprint.setDown(true);
285
        sendPacket(new ServerboundPlayerCommandPacket(mc.player, ServerboundPlayerCommandPacket.Action.START_SPRINTING));
286
    }
287
288
    public void resolvePlayers() {
289
        if (resolver.not(Resolver.Off))
290
            for (Player player : mc.level.players())
291
                if (player instanceof RemotePlayer)
292
                    ((IOtherClientPlayerEntity) player).resolve(resolver.getValue());
293
    }
294
295
    public void restorePlayers() {
296
        if (resolver.not(Resolver.Off))
297
            for (Player player : mc.level.players())
298
                if (player instanceof RemotePlayer)
299
                    ((IOtherClientPlayerEntity) player).releaseResolver();
300
    }
301
302
    public void handleKill() {
303
        if (target instanceof LivingEntity && (((LivingEntity) target).getHealth() <= 0 || ((LivingEntity) target).isDeadOrDying()))
304
            Managers.NOTIFICATION.publicity("Aura", isRu() ? "Цель успешно нейтрализована!" : "Target successfully neutralized!", 3, Notification.Type.SUCCESS);
305
    }
306
307
    private int switchMethod() {
308
        int prevSlot = -1;
309
        SearchInvResult swordResult = InventoryUtility.getSwordHotBar();
310
        if (swordResult.found() && switchMode.getValue() != Switch.None) {
311
            if (switchMode.getValue() == Switch.Silent)
312
                prevSlot = mc.player.getInventory().getSelectedSlot();
313
            swordResult.switchTo();
314
        }
315
316
        return prevSlot;
317
    }
318
319
    private int getHitTicks() {
320
        return oldDelay.getValue().isEnabled() ? 1 + (int) (20f / random(minCPS.getValue(), maxCPS.getValue())) : (shouldRandomizeDelay() ? (int) MathUtility.random(11, 13) : attackTickLimit.getValue());
321
    }
322
323
    @EventHandler
324
    public void onUpdate(PlayerUpdateEvent e) {
325
        if (!pauseTimer.passedMs(1000))
326
            return;
327
328
        if (mc.player.isUsingItem() && pauseWhileEating.getValue())
329
            return;
330
        if(pauseBaritone.getValue() && ThunderHack.baritone){
331
            boolean isTargeted = (target != null);
332
            if (isTargeted && !wasTargeted) {
333
                BaritoneIntegration.execute("pause");
334
                wasTargeted = true;
335
            } else if (!isTargeted && wasTargeted) {
336
                BaritoneIntegration.execute("resume");
337
                wasTargeted = false;
338
            }
339
        }
340
341
        resolvePlayers();
342
        auraLogic();
343
        restorePlayers();
344
        hitTicks--;
345
    }
346
347
    @EventHandler
348
    public void onSync(EventSync e) {
349
        if (!pauseTimer.passedMs(1000))
350
            return;
351
352
        if (mc.player.isUsingItem() && pauseWhileEating.getValue())
353
            return;
354
355
        if (!haveWeapon())
356
            return;
357
358
        if (target != null && rotationMode.getValue() != Mode.None && rotationMode.getValue() != Mode.Grim) {
359
            mc.player.setYRot(rotationYaw);
360
            mc.player.setXRot(rotationPitch);
361
        } else {
362
            rotationYaw = mc.player.getYRot();
363
            rotationPitch = mc.player.getXRot();
364
        }
365
366
        if (oldDelay.getValue().isEnabled())
367
            if (minCPS.getValue() > maxCPS.getValue())
368
                minCPS.setValue(maxCPS.getValue());
369
370
        if (target != null && pullDown.getValue() && (mc.player.hasEffect(MobEffects.JUMP_BOOST) || !onlyJumpBoost.getValue()))
371
            mc.player.push(0f, -pullValue.getValue() / 1000f, 0f);
372
    }
373
374
    @EventHandler
375
    public void onPacketSend(PacketEvent.@NotNull Send e) {
376
        if (e.getPacket() instanceof ServerboundInteractPacket pie && Criticals.getInteractType(pie) != Criticals.InteractType.ATTACK && target != null)
377
            e.cancel();
378
    }
379
380
    @EventHandler
381
    public void onPacketReceive(PacketEvent.@NotNull Receive e) {
382
        if (e.getPacket() instanceof ClientboundEntityEventPacket status)
383
            if (status.getEventId() == 30 && status.getEntity(mc.level) != null && target != null && status.getEntity(mc.level) == target)
384
                Managers.NOTIFICATION.publicity("Aura", isRu() ? ("Успешно сломали щит игроку " + target.getName().getString()) : ("Succesfully destroyed " + target.getName().getString() + "'s shield"), 2, Notification.Type.SUCCESS);
385
386
        if (e.getPacket() instanceof ClientboundPlayerPositionPacket && tpDisable.getValue())
387
            disable(isRu() ? "Отключаю из-за телепортации!" : "Disabling due to tp!");
388
389
        if (e.getPacket() instanceof ClientboundEntityEventPacket pac && pac.getEventId() == 3 && pac.getEntity(mc.level) == mc.player && deathDisable.getValue())
390
            disable(isRu() ? "Отключаю из-за смерти!" : "Disabling due to death!");
391
392
        /*
393
        if (resolver.is(Resolver.BackTrack) && e.getPacket() instanceof CommonPingS2CPacket ping && target != null) {
394
            Managers.ASYNC.run(() -> mc.executeSync(() -> ping.apply(mc.getNetworkHandler())), backTicks.getValue() * 25L);
395
            e.cancel();
396
        }*/
397
    }
398
399
    @Override
400
    public void onEnable() {
401
        target = null;
402
        lookingAtHitbox = false;
403
        rotationPoint = Vec3.ZERO;
404
        rotationMotion = Vec3.ZERO;
405
        rotationYaw = mc.player.getYRot();
406
        rotationPitch = mc.player.getXRot();
407
        delayTimer.reset();
408
    }
409
410
    private boolean autoCrit() {
411
        boolean reasonForSkipCrit =
412
                !smartCrit.getValue().isEnabled()
413
                        || mc.player.getAbilities().flying
414
                        || (mc.player.isFallFlying() || ModuleManager.elytraPlus.isEnabled())
415
                        || mc.player.hasEffect(MobEffects.BLINDNESS)
416
                        || mc.player.hasEffect(MobEffects.SLOW_FALLING)
417
                        || Managers.PLAYER.isInWeb();
418
419
        if (hitTicks > 0)
420
            return false;
421
422
        if (pauseInInventory.getValue() && Managers.PLAYER.inInventory)
423
            return false;
424
425
        if (getAttackCooldown() < attackCooldown.getValue() && !oldDelay.getValue().isEnabled())
426
            return false;
427
428
        if (ModuleManager.criticals.isEnabled() && ModuleManager.criticals.mode.is(Criticals.Mode.Grim))
429
            return true;
430
431
        boolean mergeWithTargetStrafe = !ModuleManager.targetStrafe.isEnabled() || !ModuleManager.targetStrafe.jump.getValue();
432
        boolean mergeWithSpeed = !ModuleManager.speed.isEnabled() || mc.player.onGround();
433
434
        if (!mc.options.keyJump.isDown() && mergeWithTargetStrafe && mergeWithSpeed && !onlySpace.getValue() && !autoJump.getValue())
435
            return true;
436
437
        if (mc.player.isInLava() || mc.player.isUnderWater())
438
            return true;
439
440
        if (!mc.options.keyJump.isDown() && isAboveWater())
441
            return true;
442
443
        // я хз почему оно не критует когда фд больше 1.14
444
        if (mc.player.fallDistance > 1 && mc.player.fallDistance < 1.14)
445
            return false;
446
447
        if (!reasonForSkipCrit)
448
            return !mc.player.onGround() && mc.player.fallDistance > (shouldRandomizeFallDistance() ? MathUtility.random(0.15f, 0.7f) : critFallDistance.getValue());
449
        return true;
450
    }
451
452
    private boolean shieldBreaker(boolean instant) { //todo - Actual value of parameter 'instant' is always 'false'
453
        int axeSlot = InventoryUtility.getAxe().slot();
454
        if (axeSlot == -1) return false;
455
        if (!shieldBreaker.getValue()) return false;
456
        if (!(target instanceof Player)) return false;
457
        if (!((Player) target).isUsingItem() && !instant) return false;
458
        if (((Player) target).getOffhandItem().getItem() != Items.SHIELD && ((Player) target).getMainHandItem().getItem() != Items.SHIELD)
459
            return false;
460
461
        if (axeSlot >= 9) {
462
            mc.gameMode.handleContainerInput(mc.player.containerMenu.containerId, axeSlot, mc.player.getInventory().getSelectedSlot(), ContainerInput.SWAP, mc.player);
463
            sendPacket(new ServerboundContainerClosePacket(mc.player.containerMenu.containerId));
464
            mc.gameMode.attack(mc.player, target);
465
            swingHand();
466
            mc.gameMode.handleContainerInput(mc.player.containerMenu.containerId, axeSlot, mc.player.getInventory().getSelectedSlot(), ContainerInput.SWAP, mc.player);
467
            sendPacket(new ServerboundContainerClosePacket(mc.player.containerMenu.containerId));
468
        } else {
469
            sendPacket(new ServerboundSetCarriedItemPacket(axeSlot));
470
            mc.gameMode.attack(mc.player, target);
471
            swingHand();
472
            sendPacket(new ServerboundSetCarriedItemPacket(mc.player.getInventory().getSelectedSlot()));
473
        }
474
        hitTicks = 10;
475
        return true;
476
    }
477
478
    private void swingHand() {
479
        switch (attackHand.getValue()) {
480
            case OffHand -> mc.player.swing(InteractionHand.OFF_HAND);
481
            case MainHand -> mc.player.swing(InteractionHand.MAIN_HAND);
482
        }
483
    }
484
485
    public boolean isAboveWater() {
486
        return mc.player.isUnderWater() || mc.level.getBlockState(BlockPos.containing(mc.player.position().add(0, -0.4, 0))).getBlock() == Blocks.WATER;
487
    }
488
489
    public float getAttackCooldownProgressPerTick() {
490
        return (float) (1.0 / mc.player.getAttributeValue(Attributes.ATTACK_SPEED) * (20.0 * ThunderHack.TICK_TIMER * (tpsSync.getValue() ? Managers.SERVER.getTPSFactor() : 1f)));
491
    }
492
493
    public float getAttackCooldown() {
494
        return Mth.clamp(((float) ((ILivingEntity) mc.player).getLastAttackedTicks() + attackBaseTime.getValue()) / getAttackCooldownProgressPerTick(), 0.0F, 1.0F);
495
    }
496
497
    private void updateTarget() {
498
        Entity candidat = findTarget();
499
500
        if (target == null) {
501
            target = candidat;
502
            return;
503
        }
504
505
        if (sort.getValue() == Sort.FOV || !lockTarget.getValue())
506
            target = candidat;
507
508
        if (candidat instanceof Projectile)
509
            target = candidat;
510
511
        if (skipEntity(target))
512
            target = null;
513
    }
514
515
    private void calcRotations(boolean ready) {
516
        if (ready) {
517
            trackticks = (mc.level.getBlockCollisions(mc.player, mc.player.getBoundingBox().inflate(-0.25, 0.0, -0.25).move(0.0, 1, 0.0)).iterator().hasNext() ? 1 : interactTicks.getValue());
518
        } else if (trackticks > 0) {
519
            trackticks--;
520
        }
521
522
        if (target == null)
523
            return;
524
525
526
        Vec3 targetVec;
527
528
        if (mc.player.isFallFlying() || ModuleManager.elytraPlus.isEnabled()) targetVec = target.getEyePosition();
529
        else targetVec = getLegitLook(target);
530
531
        if (targetVec == null)
532
            return;
533
534
        pitchAcceleration = Managers.PLAYER.checkRtx(rotationYaw, rotationPitch, getRange() + aimRange.getValue(), getRange() + aimRange.getValue(), rayTrace.getValue())
535
                ? aimedPitchStep.getValue() : pitchAcceleration < maxPitchStep.getValue() ? pitchAcceleration * pitchAccelerate.getValue() : maxPitchStep.getValue();
536
537
        float delta_yaw = wrapDegrees((float) wrapDegrees(Math.toDegrees(Math.atan2(targetVec.z - mc.player.getZ(), (targetVec.x - mc.player.getX()))) - 90) - rotationYaw) + (wallsBypass.is(WallsBypass.V2) && !ready && !mc.player.hasLineOfSight(target) ? 20 : 0);
538
        float delta_pitch = ((float) (-Math.toDegrees(Math.atan2(targetVec.y - (mc.player.position().y + mc.player.getEyeHeight(mc.player.getPose())), Math.sqrt(Math.pow((targetVec.x - mc.player.getX()), 2) + Math.pow(targetVec.z - mc.player.getZ(), 2))))) - rotationPitch);
539
540
        float yawStep = rotationMode.getValue() != Mode.Track ? 360f : random(minYawStep.getValue(), maxYawStep.getValue());
541
        float pitchStep = rotationMode.getValue() != Mode.Track ? 180f : Managers.PLAYER.ticksElytraFlying > 5 ? 180 : (pitchAcceleration + random(-1f, 1f));
542
543
        if (ready)
544
            switch (accelerateOnHit.getValue()) {
545
                case Yaw -> yawStep = 180f;
546
                case Pitch -> pitchStep = 90f;
547
                case Both -> {
548
                    yawStep = 180f;
549
                    pitchStep = 90f;
550
                }
551
            }
552
553
        if (delta_yaw > 180)
554
            delta_yaw = delta_yaw - 180;
555
556
        float deltaYaw = Mth.clamp(Mth.abs(delta_yaw), -yawStep, yawStep);
557
558
        float deltaPitch = Mth.clamp(delta_pitch, -pitchStep, pitchStep);
559
560
        float newYaw = rotationYaw + (delta_yaw > 0 ? deltaYaw : -deltaYaw);
561
        float newPitch = Mth.clamp(rotationPitch + deltaPitch, -90.0F, 90.0F);
562
563
        double gcdFix = (Math.pow(mc.options.sensitivity().get() * 0.6 + 0.2, 3.0)) * 1.2;
564
565
        if (trackticks > 0 || rotationMode.getValue() == Mode.Track) {
566
            rotationYaw = (float) (newYaw - (newYaw - rotationYaw) % gcdFix);
567
            rotationPitch = (float) (newPitch - (newPitch - rotationPitch) % gcdFix);
568
        } else {
569
            rotationYaw = mc.player.getYRot();
570
            rotationPitch = mc.player.getXRot();
571
        }
572
573
        if (!rotationMode.is(Mode.Grim))
574
            ModuleManager.rotations.fixRotation = rotationYaw;
575
        lookingAtHitbox = Managers.PLAYER.checkRtx(rotationYaw, rotationPitch, getRange(), getWallRange(), rayTrace.getValue());
576
    }
577
578
    public void onRender3D(PoseStack stack) {
579
        if (!haveWeapon() || target == null)
580
            return;
581
582
        if ((resolver.is(Resolver.BackTrack) || resolverVisualisation.getValue()) && resolvedBox != null)
583
            Render3DEngine.OUTLINE_QUEUE.add(new Render3DEngine.OutlineAction(resolvedBox, HudEditor.getColor(0), 1));
584
585
        switch (esp.getValue()) {
586
            case CelkaPasta -> Render3DEngine.drawOldTargetEsp(stack, target);
587
            case NurikZapen -> CaptureMark.render(target);
588
            case ThunderHackV2 -> Render3DEngine.renderGhosts(espLength.getValue(), espFactor.getValue(), espShaking.getValue(), espAmplitude.getValue(), target);
589
            case ThunderHack -> Render3DEngine.drawTargetEsp(stack, target);
590
        }
591
592
        if (clientLook.getValue() && rotationMode.getValue() != Mode.None) {
593
            mc.player.setYRot((float) Render2DEngine.interpolate(((thunder.hack.injection.accesors.IEntity) mc.player).getLastYaw(), rotationYaw, Render3DEngine.getTickDelta()));
594
            mc.player.setXRot((float) Render2DEngine.interpolate(((thunder.hack.injection.accesors.IEntity) mc.player).getLastPitch(), rotationPitch, Render3DEngine.getTickDelta()));
595
        }
596
    }
597
598
    @Override
599
    public void onDisable() {
600
        target = null;
601
    }
602
603
    public float getSquaredRotateDistance() {
604
        float dst = getRange();
605
        dst += aimRange.getValue();
606
        if ((mc.player.isFallFlying() || ModuleManager.elytraPlus.isEnabled()) && target != null) dst += 4f;
607
        if (ModuleManager.strafe.isEnabled()) dst += 4f;
608
        if (rotationMode.getValue() != Mode.Track || rayTrace.getValue() == RayTrace.OFF)
609
            dst = getRange();
610
611
        return dst * dst;
612
    }
613
614
    /*
615
     * Эта хуеверть основанна на приципе "DVD Logo"
616
     * У нас есть точка и "коробка" (хитбокс цели)
617
     * Точка летает внутри коробки и отталкивается от стенок с рандомной скоростью и легким джиттером
618
     * Также выбирает лучшую дистанцию для удара, то есть считает не от центра до центра, а от наших глаз до достигаемых точек хитбокса цели
619
     * Со стороны не сильно заметно что ты играешь с киллкой, в отличие от аур семейства Wexside
620
     */
621
622
    public Vec3 getLegitLook(Entity target) {
623
624
        float minMotionXZ = 0.003f;
625
        float maxMotionXZ = 0.03f;
626
627
        float minMotionY = 0.001f;
628
        float maxMotionY = 0.03f;
629
630
        double lenghtX = target.getBoundingBox().getXsize();
631
        double lenghtY = target.getBoundingBox().getYsize();
632
        double lenghtZ = target.getBoundingBox().getZsize();
633
634
635
        // Задаем начальную скорость точки
636
        if (rotationMotion.equals(Vec3.ZERO))
637
            rotationMotion = new Vec3(random(-0.05f, 0.05f), random(-0.05f, 0.05f), random(-0.05f, 0.05f));
638
639
        rotationPoint = rotationPoint.add(rotationMotion);
640
641
        // Сталкиваемся с хитбоксом по X
642
        if (rotationPoint.x >= (lenghtX - 0.05) / 2f)
643
            rotationMotion = new Vec3(-random(minMotionXZ, maxMotionXZ), rotationMotion.y(), rotationMotion.z());
644
645
        // Сталкиваемся с хитбоксом по Y
646
        if (rotationPoint.y >= lenghtY)
647
            rotationMotion = new Vec3(rotationMotion.x(), -random(minMotionY, maxMotionY), rotationMotion.z());
648
649
        // Сталкиваемся с хитбоксом по Z
650
        if (rotationPoint.z >= (lenghtZ - 0.05) / 2f)
651
            rotationMotion = new Vec3(rotationMotion.x(), rotationMotion.y(), -random(minMotionXZ, maxMotionXZ));
652
653
        // Сталкиваемся с хитбоксом по -X
654
        if (rotationPoint.x <= -(lenghtX - 0.05) / 2f)
655
            rotationMotion = new Vec3(random(minMotionXZ, 0.03f), rotationMotion.y(), rotationMotion.z());
656
657
        // Сталкиваемся с хитбоксом по -Y
658
        if (rotationPoint.y <= 0.05)
659
            rotationMotion = new Vec3(rotationMotion.x(), random(minMotionY, maxMotionY), rotationMotion.z());
660
661
        // Сталкиваемся с хитбоксом по -Z
662
        if (rotationPoint.z <= -(lenghtZ - 0.05) / 2f)
663
            rotationMotion = new Vec3(rotationMotion.x(), rotationMotion.y(), random(minMotionXZ, maxMotionXZ));
664
665
        // Добавляем джиттер
666
        rotationPoint.add(random(-0.03f, 0.03f), 0f, random(-0.03f, 0.03f));
667
668
        if (!mc.player.hasLineOfSight(target)) {
669
            // Если мы используем обход ударов через стену V1 и наша цель за стеной, то целимся в верхушку хитбокса т.к. матриксу поебать
670
            if (Objects.requireNonNull(wallsBypass.getValue()) == WallsBypass.V1) {
671
                return target.position().add(random(-0.15, 0.15), lenghtY, random(-0.15, 0.15));
672
            }
673
        }
674
675
        float[] rotation;
676
677
        // Если мы перестали смотреть на цель
678
        if (!Managers.PLAYER.checkRtx(rotationYaw, rotationPitch, getRange(), getWallRange(), rayTrace.getValue())) {
679
            float[] rotation1 = Managers.PLAYER.calcAngle(target.position().add(0, target.getEyeHeight(target.getPose()) / 2f, 0));
680
681
            // Проверяем видимость центра игрока
682
            if (PlayerUtility.squaredDistanceFromEyes(target.position().add(0, target.getEyeHeight(target.getPose()) / 2f, 0)) <= attackRange.getPow2Value()
683
                    && Managers.PLAYER.checkRtx(rotation1[0], rotation1[1], getRange(), 0, rayTrace.getValue())) {
684
                // наводим на центр
685
                rotationPoint = new Vec3(random(-0.1f, 0.1f), target.getEyeHeight(target.getPose()) / (random(1.8f, 2.5f)), random(-0.1f, 0.1f));
686
            } else {
687
                // Сканим хитбокс на видимую точку
688
                float halfBox = (float) (lenghtX / 2f);
689
690
                for (float x1 = -halfBox; x1 <= halfBox; x1 += 0.05f) {
691
                    for (float z1 = -halfBox; z1 <= halfBox; z1 += 0.05f) {
692
                        for (float y1 = 0.05f; y1 <= target.getBoundingBox().getYsize(); y1 += 0.15f) {
693
694
                            Vec3 v1 = new Vec3(target.getX() + x1, target.getY() + y1, target.getZ() + z1);
695
696
                            // Скипаем, если вне досягаемости
697
                            if (PlayerUtility.squaredDistanceFromEyes(v1) > attackRange.getPow2Value()) continue;
698
699
                            rotation = Managers.PLAYER.calcAngle(v1);
700
                            if (Managers.PLAYER.checkRtx(rotation[0], rotation[1], getRange(), 0, rayTrace.getValue())) {
701
                                // Наводимся, если видим эту точку
702
                                rotationPoint = new Vec3(x1, y1, z1);
703
                                break;
704
                            }
705
                        }
706
                    }
707
                }
708
            }
709
        }
710
        return target.position().add(rotationPoint);
711
    }
712
713
    public boolean isInRange(Entity target) {
714
715
        if (PlayerUtility.squaredDistanceFromEyes(target.position().add(0, target.getEyeHeight(target.getPose()), 0)) > getSquaredRotateDistance() + 4) {
716
            return false;
717
        }
718
719
        float[] rotation;
720
        float halfBox = (float) (target.getBoundingBox().getXsize() / 2f);
721
722
        // уменьшил частоту выборки
723
        for (float x1 = -halfBox; x1 <= halfBox; x1 += 0.15f) {
724
            for (float z1 = -halfBox; z1 <= halfBox; z1 += 0.15f) {
725
                for (float y1 = 0.05f; y1 <= target.getBoundingBox().getYsize(); y1 += 0.25f) {
726
                    if (PlayerUtility.squaredDistanceFromEyes(new Vec3(target.getX() + x1, target.getY() + y1, target.getZ() + z1)) > getSquaredRotateDistance())
727
                        continue;
728
729
                    rotation = Managers.PLAYER.calcAngle(new Vec3(target.getX() + x1, target.getY() + y1, target.getZ() + z1));
730
                    if (Managers.PLAYER.checkRtx(rotation[0], rotation[1], (float) Math.sqrt(getSquaredRotateDistance()), getWallRange(), rayTrace.getValue())) {
731
                        return true;
732
                    }
733
                }
734
            }
735
        }
736
        return false;
737
    }
738
739
    public Entity findTarget() {
740
        List<LivingEntity> first_stage = new CopyOnWriteArrayList<>();
741
        for (Entity ent : mc.level.entitiesForRendering()) {
742
            if ((ent instanceof ShulkerBullet || ent instanceof LargeFireball)
743
                    && ent.isAlive()
744
                    && isInRange(ent)
745
                    && Projectiles.getValue()) {
746
                return ent;
747
            }
748
            if (skipEntity(ent)) continue;
749
            if (!(ent instanceof LivingEntity)) continue;
750
            first_stage.add((LivingEntity) ent);
751
        }
752
753
        return switch (sort.getValue()) {
754
            case LowestDistance ->
755
                    first_stage.stream().min(Comparator.comparing(e -> (mc.player.distanceToSqr(e.position())))).orElse(null);
756
757
            case HighestDistance ->
758
                    first_stage.stream().max(Comparator.comparing(e -> (mc.player.distanceToSqr(e.position())))).orElse(null);
759
760
            case FOV -> first_stage.stream().min(Comparator.comparing(this::getFOVAngle)).orElse(null);
761
762
            case LowestHealth ->
763
                    first_stage.stream().min(Comparator.comparing(e -> (e.getHealth() + e.getAbsorptionAmount()))).orElse(null);
764
765
            case HighestHealth ->
766
                    first_stage.stream().max(Comparator.comparing(e -> (e.getHealth() + e.getAbsorptionAmount()))).orElse(null);
767
768
            case LowestDurability -> first_stage.stream().min(Comparator.comparing(e -> {
769
                        float v = 0;
770
                        for (ItemStack armor : thunder.hack.utility.player.ArmorUtility.getArmorItems(e))
771
                            if (armor != null && !armor.getItem().equals(Items.AIR)) {
772
                                v += ((armor.getMaxDamage() - armor.getDamageValue()) / (float) armor.getMaxDamage());
773
                            }
774
                        return v;
775
                    }
776
            )).orElse(null);
777
778
            case HighestDurability -> first_stage.stream().max(Comparator.comparing(e -> {
779
                        float v = 0;
780
                        for (ItemStack armor : thunder.hack.utility.player.ArmorUtility.getArmorItems(e))
781
                            if (armor != null && !armor.getItem().equals(Items.AIR)) {
782
                                v += ((armor.getMaxDamage() - armor.getDamageValue()) / (float) armor.getMaxDamage());
783
                            }
784
                        return v;
785
                    }
786
            )).orElse(null);
787
        };
788
    }
789
790
    private boolean skipEntity(Entity entity) {
791
        if (isBullet(entity)) return false;
792
        if (!(entity instanceof LivingEntity ent)) return true;
793
        if (ent.isDeadOrDying() || !entity.isAlive()) return true;
794
        if (entity instanceof ArmorStand) return true;
795
        if (entity instanceof Cat) return true;
796
        if (skipNotSelected(entity)) return true;
797
        if (!InteractionUtility.isVecInFOV(ent.position(), fov.getValue())) return true;
798
799
        if (entity instanceof Player player) {
800
            if (ModuleManager.antiBot.isEnabled() && AntiBot.bots.contains(entity))
801
                return true;
802
            if (player == mc.player || Managers.FRIEND.isFriend(player))
803
                return true;
804
            if (player.isCreative() && ignoreCreative.getValue())
805
                return true;
806
            if (player.getArmorValue() == 0 && ignoreNaked.getValue())
807
                return true;
808
            if (player.isInvisible() && ignoreInvisible.getValue())
809
                return true;
810
            if (player.getTeamColor() == mc.player.getTeamColor() && ignoreTeam.getValue() && mc.player.getTeamColor() != 16777215)
811
                return true;
812
        }
813
814
        return !isInRange(entity) || (entity.hasCustomName() && ignoreNamed.getValue());
815
    }
816
817
    private boolean isBullet(Entity entity) {
818
        return (entity instanceof ShulkerBullet || entity instanceof LargeFireball)
819
                && entity.isAlive()
820
                && PlayerUtility.squaredDistanceFromEyes(entity.position()) < getSquaredRotateDistance()
821
                && Projectiles.getValue();
822
    }
823
824
    private boolean skipNotSelected(Entity entity) {
825
        if (entity instanceof Slime && !Slimes.getValue()) return true;
826
        if (entity instanceof Monster he) {
827
            if (!hostiles.getValue())
828
                return true;
829
830
            if (onlyAngry.getValue())
831
                return he.getTarget() != mc.player;
832
        }
833
834
        if (entity instanceof Player && !Players.getValue()) return true;
835
        if (entity instanceof Villager && !Villagers.getValue()) return true;
836
        if (entity instanceof Mob && !Mobs.getValue()) return true;
837
        return entity instanceof Animal && !Animals.getValue();
838
    }
839
840
    private float getFOVAngle(@NotNull LivingEntity e) {
841
        double difX = e.getX() - mc.player.getX();
842
        double difZ = e.getZ() - mc.player.getZ();
843
        float yaw = (float) Mth.wrapDegrees(Math.toDegrees(Math.atan2(difZ, difX)) - 90.0);
844
        return Math.abs(yaw - Mth.wrapDegrees(mc.player.getYRot()));
845
    }
846
847
    public void pause() {
848
        pauseTimer.reset();
849
    }
850
851
    private boolean shouldRandomizeDelay() {
852
        return randomHitDelay.getValue() && (mc.player.onGround() || mc.player.fallDistance < 0.12f || mc.player.isSwimming() || mc.player.isFallFlying());
853
    }
854
855
    private boolean shouldRandomizeFallDistance() {
856
        return randomHitDelay.getValue() && !shouldRandomizeDelay();
857
    }
858
859
    public static class Position {
860
        private double x, y, z;
861
        private int ticks;
862
863
        public Position(double x, double y, double z) {
864
            this.x = x;
865
            this.y = y;
866
            this.z = z;
867
        }
868
869
        public boolean shouldRemove() {
870
            return ticks++ > ModuleManager.aura.backTicks.getValue();
871
        }
872
873
        public double getX() {
874
            return x;
875
        }
876
877
        public double getY() {
878
            return y;
879
        }
880
881
        public double getZ() {
882
            return z;
883
884
        }
885
    }
886
887
    public enum RayTrace {
888
        OFF, OnlyTarget, AllEntities
889
    }
890
891
    public enum Sort {
892
        LowestDistance, HighestDistance, LowestHealth, HighestHealth, LowestDurability, HighestDurability, FOV
893
    }
894
895
    public enum Switch {
896
        Normal, None, Silent
897
    }
898
899
    public enum Resolver {
900
        Off, Advantage, Predictive, BackTrack
901
    }
902
903
    public enum Mode {
904
        Interact, Track, Grim, None
905
    }
906
907
    public enum AttackHand {
908
        MainHand, OffHand, None
909
    }
910
911
    public enum ESP {
912
        Off, ThunderHack, NurikZapen, CelkaPasta, ThunderHackV2
913
    }
914
915
    public enum AccelerateOnHit {
916
        Off, Yaw, Pitch, Both
917
    }
918
919
    public enum WallsBypass {
920
        Off, V1, V2
921
    }
922
}
923