diff options
Diffstat (limited to 'src/main/java/ftbsc')
14 files changed, 10 insertions, 30 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/defense/Aura.java b/src/main/java/ftbsc/bscv/modules/defense/Aura.java index 3ebe569..f031f2c 100644 --- a/src/main/java/ftbsc/bscv/modules/defense/Aura.java +++ b/src/main/java/ftbsc/bscv/modules/defense/Aura.java @@ -3,7 +3,6 @@ package ftbsc.bscv.modules.defense; import com.google.auto.service.AutoService; import ftbsc.bscv.Boscovicino; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.QuickModule; import ftbsc.bscv.modules.self.AutoTool; @@ -23,7 +22,7 @@ import net.minecraftforge.event.TickEvent.Phase; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class Aura extends QuickModule implements ICommons { +public class Aura extends QuickModule { private enum LookType { NONE, diff --git a/src/main/java/ftbsc/bscv/modules/hud/PlayerList.java b/src/main/java/ftbsc/bscv/modules/hud/PlayerList.java index f3bb264..a0cdd6b 100644 --- a/src/main/java/ftbsc/bscv/modules/hud/PlayerList.java +++ b/src/main/java/ftbsc/bscv/modules/hud/PlayerList.java @@ -1,7 +1,6 @@ package ftbsc.bscv.modules.hud; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.HudModule; import net.minecraft.entity.Entity; @@ -13,7 +12,7 @@ import net.minecraftforge.eventbus.api.SubscribeEvent; import static ftbsc.bscv.tools.Text.TextBuilder; @AutoService(ILoadable.class) -public class PlayerList extends HudModule implements ICommons { +public class PlayerList extends HudModule { @SubscribeEvent public void onRenderOverlay(RenderGameOverlayEvent event) { diff --git a/src/main/java/ftbsc/bscv/modules/motion/VanillaFlight.java b/src/main/java/ftbsc/bscv/modules/motion/VanillaFlight.java index 3de7772..150fdb1 100644 --- a/src/main/java/ftbsc/bscv/modules/motion/VanillaFlight.java +++ b/src/main/java/ftbsc/bscv/modules/motion/VanillaFlight.java @@ -1,12 +1,10 @@ package ftbsc.bscv.modules.motion; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.QuickModule; import ftbsc.bscv.patches.PacketPatch.PacketEvent; import ftbsc.bscv.tools.Setting; -import net.minecraft.client.entity.player.ClientPlayerEntity; import net.minecraft.network.play.client.CPlayerPacket; import net.minecraft.util.math.vector.Vector3d; import net.minecraftforge.common.ForgeConfigSpec; diff --git a/src/main/java/ftbsc/bscv/modules/self/AntiHunger.java b/src/main/java/ftbsc/bscv/modules/self/AntiHunger.java index d98f61f..f0c68e0 100644 --- a/src/main/java/ftbsc/bscv/modules/self/AntiHunger.java +++ b/src/main/java/ftbsc/bscv/modules/self/AntiHunger.java @@ -1,7 +1,6 @@ package ftbsc.bscv.modules.self; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.AbstractModule; import ftbsc.bscv.patches.PacketPatch.PacketEvent; @@ -13,7 +12,7 @@ import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class AntiHunger extends AbstractModule implements ICommons { +public class AntiHunger extends AbstractModule { public final ForgeConfigSpec.ConfigValue<Boolean> sprint; public final ForgeConfigSpec.ConfigValue<Boolean> hover; diff --git a/src/main/java/ftbsc/bscv/modules/self/AutoDisconnect.java b/src/main/java/ftbsc/bscv/modules/self/AutoDisconnect.java index a05ca06..4e556ac 100644 --- a/src/main/java/ftbsc/bscv/modules/self/AutoDisconnect.java +++ b/src/main/java/ftbsc/bscv/modules/self/AutoDisconnect.java @@ -1,7 +1,6 @@ package ftbsc.bscv.modules.self; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.AbstractModule; import ftbsc.bscv.patches.PacketPatch.PacketEvent; @@ -13,7 +12,7 @@ import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class AutoDisconnect extends AbstractModule implements ICommons { +public class AutoDisconnect extends AbstractModule { public final ForgeConfigSpec.ConfigValue<Double> threshold; diff --git a/src/main/java/ftbsc/bscv/modules/self/AutoFish.java b/src/main/java/ftbsc/bscv/modules/self/AutoFish.java index 7d9f5c7..9394233 100644 --- a/src/main/java/ftbsc/bscv/modules/self/AutoFish.java +++ b/src/main/java/ftbsc/bscv/modules/self/AutoFish.java @@ -1,7 +1,6 @@ package ftbsc.bscv.modules.self; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.AbstractModule; import ftbsc.bscv.patches.PacketPatch.PacketEvent; @@ -14,7 +13,7 @@ import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class AutoFish extends AbstractModule implements ICommons { +public class AutoFish extends AbstractModule { public final ForgeConfigSpec.ConfigValue<Boolean> recast; public final ForgeConfigSpec.ConfigValue<Integer> delay; diff --git a/src/main/java/ftbsc/bscv/modules/self/AutoTool.java b/src/main/java/ftbsc/bscv/modules/self/AutoTool.java index 2f90985..1474085 100644 --- a/src/main/java/ftbsc/bscv/modules/self/AutoTool.java +++ b/src/main/java/ftbsc/bscv/modules/self/AutoTool.java @@ -1,7 +1,6 @@ package ftbsc.bscv.modules.self; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.AbstractModule; import ftbsc.bscv.tools.Inventory; @@ -17,7 +16,7 @@ import net.minecraftforge.eventbus.api.SubscribeEvent; import java.util.List; @AutoService(ILoadable.class) -public class AutoTool extends AbstractModule implements ICommons { +public class AutoTool extends AbstractModule { public final ForgeConfigSpec.ConfigValue<Integer> limit; diff --git a/src/main/java/ftbsc/bscv/modules/self/FastInteract.java b/src/main/java/ftbsc/bscv/modules/self/FastInteract.java index 9f82b20..9cd37d7 100644 --- a/src/main/java/ftbsc/bscv/modules/self/FastInteract.java +++ b/src/main/java/ftbsc/bscv/modules/self/FastInteract.java @@ -1,18 +1,13 @@ package ftbsc.bscv.modules.self; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.QuickModule; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; -import java.lang.reflect.Field; - -import static ftbsc.bscv.Boscovicino.log; - @AutoService(ILoadable.class) -public class FastInteract extends QuickModule implements ICommons { +public class FastInteract extends QuickModule { protected int getDefaultKey() { return UNBOUND; } diff --git a/src/main/java/ftbsc/bscv/modules/self/Freecam.java b/src/main/java/ftbsc/bscv/modules/self/Freecam.java index 2811178..0544803 100644 --- a/src/main/java/ftbsc/bscv/modules/self/Freecam.java +++ b/src/main/java/ftbsc/bscv/modules/self/Freecam.java @@ -2,7 +2,6 @@ package ftbsc.bscv.modules.self; import com.google.auto.service.AutoService; import ftbsc.bscv.Boscovicino; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.QuickModule; import ftbsc.bscv.patches.PacketPatch.PacketEvent; @@ -18,7 +17,7 @@ import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class Freecam extends QuickModule implements ICommons { +public class Freecam extends QuickModule { public final ForgeConfigSpec.ConfigValue<Boolean> log; public final ForgeConfigSpec.ConfigValue<Double> speed; diff --git a/src/main/java/ftbsc/bscv/modules/vision/Chams.java b/src/main/java/ftbsc/bscv/modules/vision/Chams.java index 81902f6..21961eb 100644 --- a/src/main/java/ftbsc/bscv/modules/vision/Chams.java +++ b/src/main/java/ftbsc/bscv/modules/vision/Chams.java @@ -5,14 +5,13 @@ import org.lwjgl.opengl.GL11; import com.google.auto.service.AutoService; import com.mojang.blaze3d.platform.GlStateManager; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.QuickModule; import net.minecraftforge.client.event.RenderLivingEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class Chams extends QuickModule implements ICommons { +public class Chams extends QuickModule { protected int getDefaultKey() { return UNBOUND; } diff --git a/src/main/java/ftbsc/bscv/modules/vision/Fullbright.java b/src/main/java/ftbsc/bscv/modules/vision/Fullbright.java index 9569d44..aa8143b 100644 --- a/src/main/java/ftbsc/bscv/modules/vision/Fullbright.java +++ b/src/main/java/ftbsc/bscv/modules/vision/Fullbright.java @@ -1,7 +1,6 @@ package ftbsc.bscv.modules.vision; import com.google.auto.service.AutoService; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; import ftbsc.bscv.modules.QuickModule; import net.minecraft.potion.Effect; @@ -12,7 +11,7 @@ import net.minecraftforge.eventbus.api.SubscribeEvent; import java.awt.event.KeyEvent; @AutoService(ILoadable.class) -public class Fullbright extends QuickModule implements ICommons { +public class Fullbright extends QuickModule { private final static int NIGHT_VISION_ID = 16; private final static int FOUR_MINUTES_TWENTY_SECONDS = 5204; diff --git a/src/main/java/ftbsc/bscv/modules/vision/UpdateESP.java b/src/main/java/ftbsc/bscv/modules/vision/UpdateESP.java index 6db66f1..d541183 100644 --- a/src/main/java/ftbsc/bscv/modules/vision/UpdateESP.java +++ b/src/main/java/ftbsc/bscv/modules/vision/UpdateESP.java @@ -1,7 +1,5 @@ package ftbsc.bscv.modules.vision; -import java.util.Map.Entry; -import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue; import org.lwjgl.opengl.GL11; diff --git a/src/main/java/ftbsc/bscv/patches/CommandsPatch.java b/src/main/java/ftbsc/bscv/patches/CommandsPatch.java index b5fbc76..6035a96 100644 --- a/src/main/java/ftbsc/bscv/patches/CommandsPatch.java +++ b/src/main/java/ftbsc/bscv/patches/CommandsPatch.java @@ -7,7 +7,6 @@ import ftbsc.lll.processor.annotations.Target; import ftbsc.lll.proxies.impl.MethodProxy; import ftbsc.lll.tools.InsnSequence; import ftbsc.lll.tools.PatternMatcher; -import ftbsc.lll.tools.debug.BytecodePrinter; import ftbsc.lll.tools.nodes.MethodProxyInsnNode; import net.minecraft.client.network.play.ClientPlayNetHandler; import net.minecraft.command.CommandSource; diff --git a/src/main/java/ftbsc/bscv/patches/PacketPatch.java b/src/main/java/ftbsc/bscv/patches/PacketPatch.java index 7decc4b..f3fef37 100644 --- a/src/main/java/ftbsc/bscv/patches/PacketPatch.java +++ b/src/main/java/ftbsc/bscv/patches/PacketPatch.java @@ -7,7 +7,6 @@ import ftbsc.lll.processor.annotations.Target; import ftbsc.lll.proxies.impl.MethodProxy; import ftbsc.lll.tools.InsnSequence; import ftbsc.lll.tools.PatternMatcher; -import ftbsc.lll.tools.debug.BytecodePrinter; import ftbsc.lll.tools.nodes.MethodProxyInsnNode; import io.netty.channel.ChannelHandlerContext; import io.netty.util.concurrent.Future; |