Refactor some files

This commit is contained in:
UnknownUser1789 2023-01-14 23:39:22 +00:00
parent db4cdee44f
commit ca64190771
9 changed files with 11 additions and 9 deletions

View File

@ -3,8 +3,8 @@ package dev.resent.module.impl.movement;
import dev.resent.module.base.Category;
import dev.resent.module.base.RenderModule;
import dev.resent.setting.BooleanSetting;
import dev.resent.ui.mods.ClickGUI;
import dev.resent.ui.mods.HUDConfigScreen;
import dev.resent.ui.ClickGUI;
import dev.resent.ui.HUDConfigScreen;
import net.minecraft.client.gui.FontRenderer;
public class Sprint extends RenderModule {

View File

@ -1,4 +1,4 @@
package dev.resent.ui.mods;
package dev.resent.ui;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package dev.resent.ui.mods;
package dev.resent.ui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
@ -17,6 +17,6 @@ public class ClientButton extends GuiButton
this.hovered = (mouseX >= this.xPosition && mouseY >= this.yPosition && mouseX < this.xPosition + this.width && mouseY < this.yPosition + this.height);
Gui.drawRect(this.xPosition, this.yPosition, this.xPosition + this.width, this.yPosition + this.height, hovered ? 0x30ffffff :0x20ffffff);
this.drawCenteredString(fr, this.displayString, this.xPosition + this.width / 2, this.yPosition + (this.height - 8) / 2, -1);
drawCenteredString(fr, this.displayString, this.xPosition + this.width / 2, this.yPosition + (this.height - 8) / 2, -1);
}
}

View File

@ -1,3 +1,4 @@
package dev.resent.ui;
/*package dev.resent.ui.mods;
import java.util.ArrayList;

View File

@ -1,4 +1,4 @@
package dev.resent.ui.mods;
package dev.resent.ui;
import dev.resent.Resent;
import dev.resent.module.base.RenderModule;

View File

@ -1,3 +1,4 @@
package dev.resent.ui;
/*package dev.resent.ui.mods;
import java.util.ArrayList;

View File

@ -10,7 +10,7 @@ import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_SMOOTH;
import com.google.common.collect.Lists;
import dev.resent.Resent;
import dev.resent.ui.mods.ClickGUI;
import dev.resent.ui.ClickGUI;
import dev.resent.util.misc.W;
import java.io.IOException;
import java.io.InputStream;

View File

@ -18,7 +18,7 @@ import dev.resent.module.base.Mod;
import dev.resent.module.base.ModManager;
import dev.resent.module.base.RenderModule;
import dev.resent.module.impl.misc.Crosshair;
import dev.resent.ui.mods.HUDConfigScreen;
import dev.resent.ui.HUDConfigScreen;
import dev.resent.util.misc.W;
import dev.resent.util.render.RenderUtils;
import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;

View File

@ -1,6 +1,6 @@
package net.minecraft.client.gui;
import dev.resent.ui.mods.ClientButton;
import dev.resent.ui.ClientButton;
import dev.resent.util.render.RenderUtils;
import net.lax1dude.eaglercraft.v1_8.profile.GuiScreenEditProfile;
import net.minecraft.client.Minecraft;