chore: i did it again
This commit is contained in:
parent
b83779f7bf
commit
6e2fec7970
16 changed files with 61 additions and 61 deletions
|
@ -1,4 +1,4 @@
|
||||||
package bscv;
|
package ftbsc.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 bscv.module.Module;
|
import ftbsc.bscv.module.Module;
|
||||||
import bscv.module.vision.*;
|
import ftbsc.bscv.module.vision.*;
|
||||||
import bscv.module.motion.*;
|
import ftbsc.bscv.module.motion.*;
|
||||||
import bscv.module.self.*;
|
import ftbsc.bscv.module.self.*;
|
||||||
import bscv.module.hud.*;
|
import ftbsc.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")
|
|
@ -1,10 +1,10 @@
|
||||||
package bscv.module;
|
package ftbsc.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 bscv.tools.Anchor;
|
import ftbsc.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;
|
|
@ -1,15 +1,15 @@
|
||||||
package bscv.module;
|
package ftbsc.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 bscv.BoSCoVicino;
|
import ftbsc.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 bscv.BoSCoVicino.log;
|
import static ftbsc.bscv.BoSCoVicino.log;
|
||||||
|
|
||||||
public abstract class Module {
|
public abstract class Module {
|
||||||
public enum Group {
|
public enum Group {
|
|
@ -1,4 +1,4 @@
|
||||||
package bscv.module;
|
package ftbsc.bscv.module;
|
||||||
|
|
||||||
import com.mojang.brigadier.CommandDispatcher;
|
import com.mojang.brigadier.CommandDispatcher;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ 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 bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
|
|
||||||
// TODO rename
|
// TODO rename
|
||||||
public class QuickModule extends Module {
|
public class QuickModule extends Module {
|
|
@ -1,17 +1,17 @@
|
||||||
package bscv.module.hud;
|
package ftbsc.bscv.module.hud;
|
||||||
|
|
||||||
import static bscv.tools.Text.TextBuilder;
|
import static ftbsc.bscv.tools.Text.TextBuilder;
|
||||||
|
|
||||||
import com.mojang.brigadier.CommandDispatcher;
|
import com.mojang.brigadier.CommandDispatcher;
|
||||||
|
|
||||||
import bscv.BoSCoVicino;
|
import ftbsc.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 bscv.module.HudModule;
|
import ftbsc.bscv.module.HudModule;
|
||||||
import bscv.module.Module;
|
import ftbsc.bscv.module.Module;
|
||||||
|
|
||||||
public class ActiveModules extends HudModule {
|
public class ActiveModules extends HudModule {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bscv.module.hud;
|
package ftbsc.bscv.module.hud;
|
||||||
|
|
||||||
import com.mojang.brigadier.CommandDispatcher;
|
import com.mojang.brigadier.CommandDispatcher;
|
||||||
|
|
||||||
|
@ -10,9 +10,9 @@ 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 static ftbsc.bscv.tools.Text.TextBuilder;
|
||||||
import bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
import bscv.module.HudModule;
|
import ftbsc.bscv.module.HudModule;
|
||||||
|
|
||||||
public class Coordinates extends HudModule {
|
public class Coordinates extends HudModule {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package bscv.module.hud;
|
package ftbsc.bscv.module.hud;
|
||||||
|
|
||||||
import static bscv.tools.Text.TextBuilder;
|
import static ftbsc.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 bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
import bscv.module.HudModule;
|
import ftbsc.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;
|
|
@ -1,14 +1,14 @@
|
||||||
package bscv.module.hud;
|
package ftbsc.bscv.module.hud;
|
||||||
|
|
||||||
import static bscv.tools.Text.TextBuilder;
|
import static ftbsc.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 bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
import bscv.module.HudModule;
|
import ftbsc.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;
|
|
@ -1,12 +1,12 @@
|
||||||
package bscv.module.motion;
|
package ftbsc.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 bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
import bscv.module.QuickModule;
|
import ftbsc.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;
|
|
@ -1,6 +1,6 @@
|
||||||
package bscv.module.self;
|
package ftbsc.bscv.module.self;
|
||||||
|
|
||||||
import static bscv.BoSCoVicino.log;
|
import static ftbsc.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 bscv.module.QuickModule;
|
import ftbsc.bscv.module.QuickModule;
|
||||||
import bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
|
|
||||||
public class FastInteract extends QuickModule {
|
public class FastInteract extends QuickModule {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bscv.module.vision;
|
package ftbsc.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 bscv.module.QuickModule;
|
import ftbsc.bscv.module.QuickModule;
|
||||||
import bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
|
|
||||||
public class Fullbright extends QuickModule {
|
public class Fullbright extends QuickModule {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bscv.asm.patches;
|
package ftbsc.bscv.patches;
|
||||||
|
|
||||||
import org.objectweb.asm.Opcodes;
|
import org.objectweb.asm.Opcodes;
|
||||||
import org.objectweb.asm.tree.ClassNode;
|
import org.objectweb.asm.tree.ClassNode;
|
||||||
|
@ -21,9 +21,9 @@ public class TestPatch {
|
||||||
public String methodDesc() { return "()I"; }
|
public String methodDesc() { return "()I"; }
|
||||||
|
|
||||||
public void inject(ClassNode clazz, MethodNode main) {
|
public void inject(ClassNode clazz, MethodNode main) {
|
||||||
InsnList insnList = new InsnList();
|
// InsnList insnList = new InsnList();
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
main.instructions.insert(insnList);
|
// main.instructions.insert(insnList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,16 +35,16 @@ public class TestPatch {
|
||||||
public String methodDesc() { return "()V"; }
|
public String methodDesc() { return "()V"; }
|
||||||
|
|
||||||
public void inject(ClassNode clazz, MethodNode main) {
|
public void inject(ClassNode clazz, MethodNode main) {
|
||||||
InsnList insnList = new InsnList();
|
// InsnList insnList = new InsnList();
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
insnList.add(new InsnNode(POP));
|
// insnList.add(new InsnNode(POP));
|
||||||
main.instructions.insert(insnList);
|
// main.instructions.insert(insnList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package bscv.tools;
|
package ftbsc.bscv.tools;
|
||||||
|
|
||||||
import bscv.BoSCoVicino;
|
import ftbsc.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;
|
|
@ -1,9 +1,9 @@
|
||||||
package bscv.tools;
|
package ftbsc.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 bscv.BoSCoVicino;
|
import ftbsc.bscv.BoSCoVicino;
|
||||||
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;
|
|
@ -1,4 +1,4 @@
|
||||||
package bscv.tools;
|
package ftbsc.bscv.tools;
|
||||||
|
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
|
@ -1,2 +1,2 @@
|
||||||
bscv.asm.patches.TestPatch$FramerateFix
|
ftbsc.bscv.patches.TestPatch$FramerateFix
|
||||||
bscv.asm.patches.TestPatch$TickPatch
|
ftbsc.bscv.patches.TestPatch$TickPatch
|
||||||
|
|
Loading…
Reference in a new issue