This commit is contained in:
ThisIsALegitUsername 2023-02-24 17:16:21 +00:00
parent bef3ff0054
commit 2c2a07d79b
53 changed files with 106 additions and 99 deletions

View File

@ -4,8 +4,8 @@ import java.io.PrintWriter;
import dev.resent.module.base.ModManager;
import dev.resent.module.base.RenderMod;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.ModeSetting;
import dev.resent.sound.SoundManager;
public class Resent {

View File

@ -1,9 +1,10 @@
package dev.resent.module.base;
import dev.resent.annotation.Module;
import dev.resent.module.setting.Setting;
import dev.resent.ui.Theme;
import dev.resent.module.base.setting.Setting;
import dev.resent.util.render.RenderUtils;
import dev.resent.visual.ui.Theme;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

View File

@ -1,4 +1,4 @@
package dev.resent.module.setting;
package dev.resent.module.base.setting;
public class BooleanSetting extends Setting {

View File

@ -1,4 +1,4 @@
package dev.resent.module.setting;
package dev.resent.module.base.setting;
public class CustomRectSettingDraw extends Setting{
public CustomRectSettingDraw(String name, String description){

View File

@ -1,4 +1,4 @@
package dev.resent.module.setting;
package dev.resent.module.base.setting;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -1,4 +1,4 @@
package dev.resent.module.setting;
package dev.resent.module.base.setting;
import net.minecraft.util.MathHelper;

View File

@ -1,4 +1,4 @@
package dev.resent.module.setting;
package dev.resent.module.base.setting;
public class Setting {

View File

@ -2,8 +2,8 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.RenderMod;
import dev.resent.module.setting.BooleanSetting;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.gui.GuiIngame;
import net.minecraft.client.gui.ScaledResolution;

View File

@ -4,8 +4,8 @@ import java.text.DecimalFormat;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.visual.ui.Theme;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.Theme;
@RenderModule(name = "BPS", category = Category.HUD, x = 4, y = 16)
public class BPS extends RenderMod{

View File

@ -3,8 +3,9 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.Theme;
import dev.resent.util.misc.FuncUtils;
import dev.resent.visual.ui.Theme;
import java.util.ArrayList;
import java.util.List;

View File

@ -2,8 +2,8 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.visual.ui.Theme;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.Theme;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.network.play.server.S19PacketEntityStatus;

View File

@ -2,8 +2,8 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.visual.ui.Theme;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.Theme;
import net.minecraft.client.Minecraft;
@RenderModule(name = "FPS", category = Category.HUD, x = 4, y = 38)

View File

@ -3,8 +3,8 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.Module;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.ModeSetting;
@Module(name = "Hitboxes", category = Category.HUD, hasSetting = true)
public class Hitboxes extends Mod {

View File

@ -2,10 +2,10 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.RenderMod;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.ui.Theme;
import dev.resent.util.render.Color;
import dev.resent.visual.ui.Theme;
import net.minecraft.util.BlockPos;
import net.minecraft.util.MathHelper;

View File

@ -2,13 +2,14 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.ModeSetting;
import dev.resent.module.base.RenderMod;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.ModeSetting;
import dev.resent.ui.Theme;
import dev.resent.util.misc.FuncUtils;
import dev.resent.util.render.Color;
import dev.resent.util.render.RenderUtils;
import dev.resent.visual.ui.Theme;
import java.util.ArrayList;
import java.util.List;
import net.lax1dude.eaglercraft.v1_8.Mouse;

View File

@ -2,8 +2,8 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.visual.ui.Theme;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.Theme;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;

View File

@ -2,8 +2,9 @@ package dev.resent.module.impl.hud;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.visual.ui.Theme;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.Theme;
import java.text.DecimalFormat;
import net.minecraft.entity.Entity;
import net.minecraft.util.Vec3;

View File

@ -3,7 +3,7 @@ package dev.resent.module.impl.misc;
import dev.resent.annotation.Module;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.base.setting.BooleanSetting;
@Module(name = "AutoGG", category = Category.MISC, hasSetting = true)
public class AutoGG extends Mod {

View File

@ -1,12 +1,12 @@
package dev.resent.module.impl.misc;
import dev.resent.annotation.Module;
import dev.resent.cape.CapeUi;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.CustomRectSettingDraw;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.CustomRectSettingDraw;
import dev.resent.module.base.setting.ModeSetting;
import dev.resent.visual.cape.CapeUi;
@Module(name = "Cape", category = Category.MISC, hasSetting = true)
public class Cape extends Mod{

View File

@ -3,8 +3,8 @@ package dev.resent.module.impl.misc;
import dev.resent.annotation.Module;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.ModeSetting;
@Module(name = "Cosmetics", category = Category.MISC, hasSetting = true)
public class Cosmetics extends Mod {

View File

@ -3,8 +3,8 @@ package dev.resent.module.impl.misc;
import dev.resent.annotation.Module;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.ModeSetting;
@Module(name = "Theme", category = Category.MISC, hasSetting = true)
public class HUD extends Mod {

View File

@ -3,7 +3,7 @@ package dev.resent.module.impl.misc;
import dev.resent.annotation.Module;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.base.setting.BooleanSetting;
@Module(name = "Scoreboard", category = Category.MISC, hasSetting = true)
public class Scoreboard extends Mod {

View File

@ -2,9 +2,9 @@ package dev.resent.module.impl.misc;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.RenderMod;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.ui.Theme;
import dev.resent.visual.ui.Theme;
@RenderModule(name = "ToggleSprint", category = Category.MISC, x = 4, y = 122, hasSetting = true)
public class Sprint extends RenderMod {

View File

@ -1,6 +1,6 @@
package dev.resent.util.render;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.base.setting.ModeSetting;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.lax1dude.eaglercraft.v1_8.opengl.WorldRenderer;
import net.minecraft.client.Minecraft;

View File

@ -1,4 +1,4 @@
package dev.resent.cape;
package dev.resent.visual.cape;
import net.lax1dude.eaglercraft.v1_8.EagRuntime;
import net.minecraft.client.Minecraft;

View File

@ -1,4 +1,4 @@
package dev.resent.cape;
package dev.resent.visual.cape;
import net.lax1dude.eaglercraft.v1_8.EagRuntime;
import net.lax1dude.eaglercraft.v1_8.Keyboard;

View File

@ -1,4 +1,4 @@
package dev.resent.cosmetic;
package dev.resent.visual.cosmetic;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelBase;

View File

@ -1,4 +1,4 @@
package dev.resent.cosmetic;
package dev.resent.visual.cosmetic;
import dev.resent.module.base.ModManager;
import dev.resent.module.impl.misc.Cosmetics;

View File

@ -1,7 +1,7 @@
package dev.resent.cosmetic.impl;
package dev.resent.visual.cosmetic.impl;
import dev.resent.cosmetic.CosmeticBase;
import dev.resent.cosmetic.CosmeticController;
import dev.resent.visual.cosmetic.CosmeticBase;
import dev.resent.visual.cosmetic.CosmeticController;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.AbstractClientPlayer;

View File

@ -1,7 +1,7 @@
package dev.resent.cosmetic.impl;
package dev.resent.visual.cosmetic.impl;
import dev.resent.cosmetic.CosmeticBase;
import dev.resent.cosmetic.CosmeticController;
import dev.resent.visual.cosmetic.CosmeticBase;
import dev.resent.visual.cosmetic.CosmeticController;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelRenderer;

View File

@ -1,8 +1,8 @@
package dev.resent.cosmetic.impl;
package dev.resent.visual.cosmetic.impl;
import dev.resent.cosmetic.CosmeticBase;
import dev.resent.cosmetic.CosmeticController;
import dev.resent.util.render.Color;
import dev.resent.visual.cosmetic.CosmeticBase;
import dev.resent.visual.cosmetic.CosmeticController;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.AbstractClientPlayer;

View File

@ -1,7 +1,7 @@
package dev.resent.cosmetic.impl;
package dev.resent.visual.cosmetic.impl;
import dev.resent.cosmetic.CosmeticBase;
import dev.resent.cosmetic.CosmeticController;
import dev.resent.visual.cosmetic.CosmeticBase;
import dev.resent.visual.cosmetic.CosmeticController;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelRenderer;

View File

@ -1,18 +1,18 @@
package dev.resent.ui;
package dev.resent.visual.ui;
import java.io.IOException;
import dev.resent.client.Resent;
import dev.resent.module.base.Mod;
import dev.resent.module.setting.BooleanSetting;
import dev.resent.module.setting.CustomRectSettingDraw;
import dev.resent.module.setting.ModeSetting;
import dev.resent.module.setting.Setting;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.Direction;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.CustomRectSettingDraw;
import dev.resent.module.base.setting.ModeSetting;
import dev.resent.module.base.setting.Setting;
import dev.resent.util.misc.GlUtils;
import dev.resent.util.render.Color;
import dev.resent.util.render.RenderUtils;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.Direction;
import net.lax1dude.eaglercraft.v1_8.Keyboard;
import net.lax1dude.eaglercraft.v1_8.Mouse;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;

View File

@ -1,4 +1,4 @@
package dev.resent.ui;
package dev.resent.visual.ui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;

View File

@ -1,4 +1,4 @@
package dev.resent.ui;
package dev.resent.visual.ui;
import dev.resent.client.Resent;
import dev.resent.module.base.RenderMod;

View File

@ -1,4 +1,4 @@
package dev.resent.ui;
package dev.resent.visual.ui;
import dev.resent.util.misc.GlUtils;
import dev.resent.util.render.RenderUtils;

View File

@ -1,13 +1,13 @@
package dev.resent.ui;
package dev.resent.visual.ui;
import dev.resent.module.impl.misc.HUD;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.impl.DecelerateAnimation;
import dev.resent.ui.animation.impl.EaseBackIn;
import dev.resent.ui.animation.impl.EaseInOutQuad;
import dev.resent.ui.animation.impl.ElasticAnimation;
import dev.resent.ui.animation.impl.SmoothStepAnimation;
import dev.resent.util.render.RenderUtils;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.impl.DecelerateAnimation;
import dev.resent.visual.ui.animation.impl.EaseBackIn;
import dev.resent.visual.ui.animation.impl.EaseInOutQuad;
import dev.resent.visual.ui.animation.impl.ElasticAnimation;
import dev.resent.visual.ui.animation.impl.SmoothStepAnimation;
public class Theme {

View File

@ -1,4 +1,4 @@
package dev.resent.ui.animation;
package dev.resent.visual.ui.animation;
public abstract class Animation {

View File

@ -1,4 +1,4 @@
package dev.resent.ui.animation;
package dev.resent.visual.ui.animation;
public class AnimationUtils {

View File

@ -1,4 +1,4 @@
package dev.resent.ui.animation;
package dev.resent.visual.ui.animation;
public enum Direction {
FORWARDS,

View File

@ -1,4 +1,4 @@
package dev.resent.ui.animation;
package dev.resent.visual.ui.animation;
public class SimpleAnimation {

View File

@ -1,7 +1,7 @@
package dev.resent.ui.animation.impl;
package dev.resent.visual.ui.animation.impl;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.Direction;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.Direction;
public class DecelerateAnimation extends Animation {

View File

@ -1,7 +1,7 @@
package dev.resent.ui.animation.impl;
package dev.resent.visual.ui.animation.impl;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.Direction;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.Direction;
public class EaseBackIn extends Animation {

View File

@ -1,7 +1,7 @@
package dev.resent.ui.animation.impl;
package dev.resent.visual.ui.animation.impl;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.Direction;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.Direction;
public class EaseInOutQuad extends Animation {

View File

@ -1,7 +1,7 @@
package dev.resent.ui.animation.impl;
package dev.resent.visual.ui.animation.impl;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.Direction;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.Direction;
public class ElasticAnimation extends Animation {

View File

@ -1,7 +1,7 @@
package dev.resent.ui.animation.impl;
package dev.resent.visual.ui.animation.impl;
import dev.resent.ui.animation.Animation;
import dev.resent.ui.animation.Direction;
import dev.resent.visual.ui.animation.Animation;
import dev.resent.visual.ui.animation.Direction;
public class SmoothStepAnimation extends Animation {

View File

@ -25,8 +25,8 @@ import com.google.common.collect.Lists;
import dev.resent.client.Resent;
import dev.resent.module.base.ModManager;
import dev.resent.ui.PreGUI;
import dev.resent.util.misc.W;
import dev.resent.visual.ui.PreGUI;
import net.lax1dude.eaglercraft.v1_8.Display;
import net.lax1dude.eaglercraft.v1_8.EagRuntime;
import net.lax1dude.eaglercraft.v1_8.HString;

View File

@ -1,8 +1,10 @@
package net.minecraft.client.gui;
import com.google.common.collect.Lists;
import dev.resent.ui.animation.SimpleAnimation;
import dev.resent.util.misc.GlUtils;
import dev.resent.visual.ui.animation.SimpleAnimation;
import java.io.IOException;
import java.util.List;
import net.lax1dude.eaglercraft.v1_8.Keyboard;

View File

@ -11,9 +11,10 @@ import com.google.common.collect.Lists;
import dev.resent.client.Resent;
import dev.resent.module.base.RenderMod;
import dev.resent.ui.animation.SimpleAnimation;
import dev.resent.util.misc.W;
import dev.resent.util.render.Color;
import dev.resent.visual.ui.animation.SimpleAnimation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

View File

@ -1,7 +1,7 @@
package net.minecraft.client.gui;
import dev.resent.ui.ClientButton;
import dev.resent.util.misc.GlUtils;
import dev.resent.visual.ui.ClientButton;
import net.lax1dude.eaglercraft.v1_8.profile.GuiScreenEditProfile;
import net.minecraft.client.Minecraft;
import net.minecraft.util.EnumChatFormatting;

View File

@ -1,8 +1,8 @@
package net.minecraft.client.gui.inventory;
import dev.resent.ui.Theme;
import dev.resent.ui.animation.Animation;
import dev.resent.util.misc.GlUtils;
import dev.resent.visual.ui.Theme;
import dev.resent.visual.ui.animation.Animation;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.lax1dude.eaglercraft.v1_8.opengl.OpenGlHelper;
import net.minecraft.client.Minecraft;

View File

@ -1,9 +1,9 @@
package net.minecraft.client.renderer.entity;
import dev.resent.cosmetic.impl.CrystalWings;
import dev.resent.cosmetic.impl.Glasses;
import dev.resent.cosmetic.impl.Halo;
import dev.resent.cosmetic.impl.TopHat;
import dev.resent.visual.cosmetic.impl.CrystalWings;
import dev.resent.visual.cosmetic.impl.Glasses;
import dev.resent.visual.cosmetic.impl.Halo;
import dev.resent.visual.cosmetic.impl.TopHat;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.entity.EntityPlayerSP;

View File

@ -1,7 +1,7 @@
package net.minecraft.client.renderer.entity.layers;
import dev.resent.cape.CapeManager;
import dev.resent.module.base.ModManager;
import dev.resent.visual.cape.CapeManager;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelPlayer;