Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Coccocoahelper authored Jun 24, 2024
1 parent 7c5efdd commit 7e82e46
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public CommandManager() {
this.addCommand(new Clear());
this.addCommand(new Debug());
this.addCommand(new Fakechat());
this.addCommand(new Nick());
this.addCommand(new Ping());
this.addCommand(new Friends());
this.addCommand(new VersionCommand());
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/keystrokesmod/client/module/ModuleManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import keystrokesmod.client.module.modules.other.*;
import keystrokesmod.client.module.modules.player.*;
import keystrokesmod.client.module.modules.render.*;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.module.modules.world.ChatLogger;
import keystrokesmod.client.utils.Utils;
import net.minecraft.client.gui.FontRenderer;
Expand Down Expand Up @@ -44,7 +43,6 @@ public ModuleManager() {
addModule(new FastPlace());
addModule(new NoFall());
addModule(new SafeWalk());
addModule(new AntiBot());
addModule(new AntiShuffle());
addModule(new Chams());
addModule(new ChestESP());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import keystrokesmod.client.module.modules.player.RightClicker;
import keystrokesmod.client.module.setting.impl.SliderSetting;
import keystrokesmod.client.module.setting.impl.TickSetting;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.utils.Utils;
import net.minecraft.block.Block;
import net.minecraft.block.BlockLiquid;
Expand Down Expand Up @@ -133,18 +132,16 @@ public Entity getEnemy() {
do {
do {
do {
do {
if (!var2.hasNext()) {
return null;
}

en = (EntityPlayer) var2.next();
} while (ignoreFriends.isToggled() && isAFriend(en));
} while(en == mc.thePlayer);
} while(en.isDead);
} while(!aimInvis.isToggled() && en.isInvisible());
} while((double)mc.thePlayer.getDistanceToEntity(en) > distance.getInput());
} while(AntiBot.bot(en));
if (!var2.hasNext()) {
return null;
}

en = (EntityPlayer) var2.next();
} while (ignoreFriends.isToggled() && isAFriend(en));
} while(en == mc.thePlayer);
} while(en.isDead);
} while(!aimInvis.isToggled() && en.isInvisible());
} while((double)mc.thePlayer.getDistanceToEntity(en) > distance.getInput());
} while(!blatantMode.isToggled() && !Utils.Player.fov(en, (float)fov));

return en;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keystrokesmod.client.module.modules.combat;

import keystrokesmod.client.module.*;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.module.setting.impl.DescriptionSetting;
import keystrokesmod.client.module.setting.impl.DoubleSliderSetting;
import keystrokesmod.client.module.setting.impl.SliderSetting;
Expand Down Expand Up @@ -120,11 +119,6 @@ public void onTick(TickEvent.RenderTickEvent e) {
}
}

if (AntiBot.bot(target)) {
return;
}


if (hitCoolDown && !alreadyHit) {
hitsWaited++;
if (hitsWaited >= hitTimeout) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import keystrokesmod.client.module.Module;
import keystrokesmod.client.module.setting.impl.SliderSetting;
import keystrokesmod.client.module.setting.impl.TickSetting;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.utils.Utils;
import net.minecraft.client.renderer.RenderGlobal;
import net.minecraft.entity.Entity;
Expand Down Expand Up @@ -76,7 +75,7 @@ public void r1(RenderWorldLastEvent e) {

public static double exp(Entity en) {
Module hitBox = Raven.moduleManager.getModuleByClazz(HitBox.class);
return (hitBox != null && hitBox.isEnabled() && !AntiBot.bot(en)) ? a.getInput() : 1.0D;
return (hitBox != null && hitBox.isEnabled() ? a.getInput() : 1.0D;
}

public static void gmo(float partialTicks) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keystrokesmod.client.module.modules.combat;

import keystrokesmod.client.module.*;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.module.setting.impl.DescriptionSetting;
import keystrokesmod.client.module.setting.impl.DoubleSliderSetting;
import keystrokesmod.client.module.setting.impl.SliderSetting;
Expand Down Expand Up @@ -87,11 +86,6 @@ public void onTick(TickEvent.RenderTickEvent e) {
}
}

if (AntiBot.bot(target)) {
return;
}


if (hitCoolDown && !alreadyHit) {
hitsWaited++;
if (hitsWaited >= hitTimeout) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import keystrokesmod.client.module.Module;
import keystrokesmod.client.module.setting.impl.TickSetting;
import keystrokesmod.client.module.modules.render.PlayerESP;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.utils.Utils;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.*;
Expand Down Expand Up @@ -50,13 +49,12 @@ public void o(RenderWorldLastEvent e) {
do {
do {
if (!entityPlayerIterator.hasNext()) {
return;
}
return;
}

entity = (EntityPlayer)entityPlayerIterator.next();
} while(entity == mc.thePlayer);
} while(entity.isInvisible());
} while(AntiBot.bot(entity));
entity = (EntityPlayer)entityPlayerIterator.next();
} while(entity == mc.thePlayer);
} while(entity.isInvisible());
String c4 = "&7[&cALERT&7]";
if (entity.getHeldItem() != null && entity.getHeldItem().hasDisplayName()) {
Item i = entity.getHeldItem().getItem();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import keystrokesmod.client.module.Module;
import keystrokesmod.client.module.setting.impl.SliderSetting;
import keystrokesmod.client.module.setting.impl.TickSetting;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.utils.Utils;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
Expand Down Expand Up @@ -42,10 +41,6 @@ public void r(Pre e) {
return;
}

if (AntiBot.bot(en) || en.getDisplayNameString().isEmpty()) {
return;
}

e.setCanceled(true);
String str = en.getDisplayName().getFormattedText();
if (c.isToggled()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import keystrokesmod.client.module.setting.impl.DescriptionSetting;
import keystrokesmod.client.module.setting.impl.SliderSetting;
import keystrokesmod.client.module.setting.impl.TickSetting;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.utils.Utils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
Expand Down Expand Up @@ -93,9 +92,7 @@ public void r1(RenderWorldLastEvent e) {
} while(en.deathTime != 0);
} while(!f.isToggled() && en.isInvisible());

if (!AntiBot.bot(en)) {
this.r(en, rgb);
}
this.r(en, rgb);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import keystrokesmod.client.module.Module;
import keystrokesmod.client.module.setting.impl.SliderSetting;
import keystrokesmod.client.module.setting.impl.TickSetting;
import keystrokesmod.client.module.modules.world.AntiBot;
import keystrokesmod.client.utils.Utils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
Expand Down Expand Up @@ -90,9 +89,7 @@ public void o(RenderWorldLastEvent ev) {
} while(en.deathTime != 0);
} while(!a.isToggled() && en.isInvisible());

if (!AntiBot.bot(en)) {
Utils.HUD.dtl(en, rgb, (float)f.getInput());
}
Utils.HUD.dtl(en, rgb, (float)f.getInput());
}
}
}
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions src/main/java/keystrokesmod/client/utils/MouseManager.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keystrokesmod.client.utils;

import keystrokesmod.client.main.Raven;
import keystrokesmod.client.module.modules.world.AntiBot;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraftforge.client.event.MouseEvent;
Expand Down Expand Up @@ -32,7 +31,6 @@ public void onMouseUpdate(MouseEvent mouse) {
Utils.Player.sendMessageToSelf("rn: " + en.getName().replace("§", "%"));
Utils.Player.sendMessageToSelf("d: " + en.getDisplayName().getUnformattedText());
Utils.Player.sendMessageToSelf("rd: " + en.getDisplayName().getUnformattedText().replace("§", "%"));
Utils.Player.sendMessageToSelf("b?: " + AntiBot.bot(en));
}
} else if (mouse.button == 1) {
addRightClick();
Expand Down

0 comments on commit 7e82e46

Please sign in to comment.