i fucking did it

This commit is contained in:
əlemi 2023-02-01 20:37:21 +01:00
parent 914c47dfb3
commit 3a84231cb6
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E
14 changed files with 49 additions and 48 deletions

View file

@ -1,4 +1,4 @@
package co.fantabos.bscv; package bscv;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
@ -27,11 +27,11 @@ import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import co.fantabos.bscv.module.Module; import bscv.module.Module;
import co.fantabos.bscv.module.vision.*; import bscv.module.vision.*;
import co.fantabos.bscv.module.motion.*; import bscv.module.motion.*;
import co.fantabos.bscv.module.self.*; import bscv.module.self.*;
import co.fantabos.bscv.module.hud.*; import bscv.module.hud.*;
// The value here should match an entry in the META-INF/mods.toml file // The value here should match an entry in the META-INF/mods.toml file
@Mod("bscv") @Mod("bscv")

View file

@ -1,11 +1,11 @@
package co.fantabos.bscv.module; package bscv.module;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.DoubleArgumentType; import com.mojang.brigadier.arguments.DoubleArgumentType;
import com.mojang.brigadier.arguments.IntegerArgumentType; import com.mojang.brigadier.arguments.IntegerArgumentType;
import co.fantabos.bscv.module.Module; import bscv.module.Module;
import co.fantabos.bscv.tools.Anchor; import bscv.tools.Anchor;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.server.command.EnumArgument; import net.minecraftforge.server.command.EnumArgument;

View file

@ -1,15 +1,15 @@
package co.fantabos.bscv.module; package bscv.module;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.ArgumentType; import com.mojang.brigadier.arguments.ArgumentType;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraft.command.Commands; import net.minecraft.command.Commands;
import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.MinecraftForge;
import static co.fantabos.bscv.BoSCoVicino.log; import static bscv.BoSCoVicino.log;
public abstract class Module { public abstract class Module {
public enum Group { public enum Group {

View file

@ -1,4 +1,4 @@
package co.fantabos.bscv.module; package bscv.module;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.StringArgumentType; import com.mojang.brigadier.arguments.StringArgumentType;
@ -12,7 +12,8 @@ import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.client.registry.ClientRegistry;
import co.fantabos.bscv.BoSCoVicino;
import bscv.BoSCoVicino;
// TODO rename // TODO rename
public class QuickModule extends Module { public class QuickModule extends Module {

View file

@ -1,17 +1,17 @@
package co.fantabos.bscv.module.hud; package bscv.module.hud;
import static co.fantabos.bscv.tools.Text.TextBuilder; import static bscv.tools.Text.TextBuilder;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.client.event.RenderGameOverlayEvent;
import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType; import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
import co.fantabos.bscv.module.HudModule; import bscv.module.HudModule;
import co.fantabos.bscv.module.Module; import bscv.module.Module;
public class ActiveModules extends HudModule { public class ActiveModules extends HudModule {

View file

@ -1,11 +1,7 @@
package co.fantabos.bscv.module.hud; package bscv.module.hud;
import static co.fantabos.bscv.tools.Text.TextBuilder;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import co.fantabos.bscv.BoSCoVicino;
import co.fantabos.bscv.module.HudModule;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraft.util.math.vector.Vector3d; import net.minecraft.util.math.vector.Vector3d;
@ -14,6 +10,10 @@ import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
import static bscv.tools.Text.TextBuilder;
import bscv.BoSCoVicino;
import bscv.module.HudModule;
public class Coordinates extends HudModule { public class Coordinates extends HudModule {
public Coordinates(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher) { public Coordinates(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher) {

View file

@ -1,6 +1,6 @@
package co.fantabos.bscv.module.hud; package bscv.module.hud;
import static co.fantabos.bscv.tools.Text.TextBuilder; import static bscv.tools.Text.TextBuilder;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
@ -9,8 +9,8 @@ import java.util.stream.Collectors;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import co.fantabos.bscv.module.HudModule; import bscv.module.HudModule;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.client.event.RenderGameOverlayEvent;

View file

@ -1,14 +1,14 @@
package co.fantabos.bscv.module.hud; package bscv.module.hud;
import static co.fantabos.bscv.tools.Text.TextBuilder; import static bscv.tools.Text.TextBuilder;
import java.util.ArrayDeque; import java.util.ArrayDeque;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.BoolArgumentType; import com.mojang.brigadier.arguments.BoolArgumentType;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import co.fantabos.bscv.module.HudModule; import bscv.module.HudModule;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraft.util.math.vector.Vector3d; import net.minecraft.util.math.vector.Vector3d;

View file

@ -1,12 +1,12 @@
package co.fantabos.bscv.module.motion; package bscv.module.motion;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.BoolArgumentType; import com.mojang.brigadier.arguments.BoolArgumentType;
import com.mojang.brigadier.arguments.DoubleArgumentType; import com.mojang.brigadier.arguments.DoubleArgumentType;
import com.mojang.brigadier.arguments.IntegerArgumentType; import com.mojang.brigadier.arguments.IntegerArgumentType;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import co.fantabos.bscv.module.QuickModule; import bscv.module.QuickModule;
import net.minecraft.client.entity.player.ClientPlayerEntity; import net.minecraft.client.entity.player.ClientPlayerEntity;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.ForgeConfigSpec;

View file

@ -1,6 +1,6 @@
package co.fantabos.bscv.module.self; package bscv.module.self;
import static co.fantabos.bscv.BoSCoVicino.log; import static bscv.BoSCoVicino.log;
import java.lang.reflect.Field; import java.lang.reflect.Field;
@ -11,8 +11,8 @@ import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.event.TickEvent; import net.minecraftforge.event.TickEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
import co.fantabos.bscv.module.QuickModule; import bscv.module.QuickModule;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
public class FastInteract extends QuickModule { public class FastInteract extends QuickModule {

View file

@ -1,4 +1,4 @@
package co.fantabos.bscv.module.vision; package bscv.module.vision;
import java.awt.event.KeyEvent; import java.awt.event.KeyEvent;
@ -12,8 +12,8 @@ import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.event.TickEvent; import net.minecraftforge.event.TickEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
import co.fantabos.bscv.module.QuickModule; import bscv.module.QuickModule;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
public class Fullbright extends QuickModule { public class Fullbright extends QuickModule {

View file

@ -1,6 +1,6 @@
package co.fantabos.bscv.tools; package bscv.tools;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import net.minecraft.client.MainWindow; import net.minecraft.client.MainWindow;
import net.minecraft.client.gui.screen.ChatScreen; import net.minecraft.client.gui.screen.ChatScreen;
import net.minecraft.util.math.vector.Vector2f; import net.minecraft.util.math.vector.Vector2f;

View file

@ -1,10 +1,10 @@
package co.fantabos.bscv.tools; package bscv.tools;
import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.systems.RenderSystem;
import co.fantabos.bscv.BoSCoVicino; import bscv.BoSCoVicino;
import co.fantabos.bscv.tools.Anchor; import bscv.tools.Anchor;
import net.minecraft.client.MainWindow; import net.minecraft.client.MainWindow;
import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.FontRenderer;
import net.minecraft.util.math.vector.Vector2f; import net.minecraft.util.math.vector.Vector2f;

View file

@ -1,4 +1,4 @@
package co.fantabos.bscv.tools; package bscv.tools;
import java.util.function.Function; import java.util.function.Function;
import java.util.function.Supplier; import java.util.function.Supplier;