latenci font

This commit is contained in:
UnknownUser1789 2023-01-17 04:40:14 +00:00
parent 048cdd0a02
commit 964ff6d942
7 changed files with 5388 additions and 5390 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,6 @@ import java.io.IOException;
import dev.resent.Resent;
import dev.resent.animation.Animation;
import dev.resent.animation.Direction;
import dev.resent.animation.impl.EaseBackIn;
import dev.resent.module.base.Mod;
import dev.resent.setting.BooleanSetting;
@ -14,7 +13,6 @@ import dev.resent.util.render.Color;
import dev.resent.util.render.RenderUtils;
import net.lax1dude.eaglercraft.v1_8.Keyboard;
import net.lax1dude.eaglercraft.v1_8.Mouse;
import net.lax1dude.eaglercraft.v1_8.opengl.EaglercraftGPU;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
@ -40,7 +38,7 @@ public class ClickGUI extends GuiScreen {
int xy = -30;
sr = new ScaledResolution(mc);
fr = Minecraft.getMinecraft().fontRendererObj;
fr = Minecraft.getMinecraft().resentFont;
width = GuiScreen.width - x;
height = GuiScreen.height - y;
x = sr.getScaledWidth() / 8 + xo;
@ -114,7 +112,7 @@ public class ClickGUI extends GuiScreen {
int xo = 0;
int xy = -30;
fr = Minecraft.getMinecraft().fontRendererObj;
fr = Minecraft.getMinecraft().resentFont;
width = GuiScreen.width - x;
height = GuiScreen.height - y;
x = sr.getScaledWidth() / 8 + xo;

View File

@ -378,7 +378,7 @@ public class Minecraft implements IThreadListener {
this.mcSoundHandler = new SoundHandler(this.mcResourceManager, this.gameSettings);
this.mcResourceManager.registerReloadListener(this.mcSoundHandler);
this.mcMusicTicker = new MusicTicker(this);
this.resentFont = new FontRenderer(this.gameSettings, new ResourceLocation("eagler:gui/arial.png"), this.renderEngine, false);
this.resentFont = new FontRenderer(this.gameSettings, new ResourceLocation("eagler:gui/ascii.png"), this.renderEngine, false);
this.fontRendererObj = new EaglerFontRenderer(this.gameSettings, new ResourceLocation("textures/font/ascii.png"), this.renderEngine, false);
if (this.gameSettings.language != null) {