This commit is contained in:
ThisIsALegitUsername 2023-03-03 19:34:14 +00:00
parent ca660d8d99
commit a3d17d4819
6 changed files with 35547 additions and 35505 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -50,6 +50,13 @@
margin-left: -1.3vw;
}
#ratio {
position: relative;
top: 13vh;
font-size: 2vh;
font-family: sans-serif;
}
#meter {
width: 80vw;
margin:auto;
@ -103,6 +110,7 @@
<h1 id="clienttitle">Resent Client</h1>
<h2 id="clientversion">3.6</h2>
<p id="progresstext">0%</p>
<p id="ratio">use <a href="./badwifi/index.html">this link</a> if your internet is bad</p>
<div id="meter">
<span style="width: 0%" id="progress"></span>
</div>

View File

@ -4,15 +4,49 @@ import dev.resent.annotation.Module;
import dev.resent.module.base.Mod;
import dev.resent.module.base.Mod.Category;
import dev.resent.module.base.setting.BooleanSetting;
import dev.resent.module.base.setting.CustomRectSettingDraw;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums;
import net.minecraft.client.settings.GameSettings;
import net.minecraft.util.Timer;
@Module(name = "FPS Options", category = Category.MISC, hasSetting = true)
public class FPSOptions extends Mod{
public BooleanSetting batchRendering = new BooleanSetting("Batch rendering", "", false);
public CustomRectSettingDraw minSetting = new CustomRectSettingDraw("Minimal settings", ""){
@Override
public void onChange(){
GameSettings gameSettings = mc.gameSettings;
Timer timer = mc.timer;
GlStateManager.enableTexture2D();
GlStateManager.shadeModel(RealOpenGLEnums.GL_SMOOTH);
GlStateManager.clearDepth(1.0f);
GlStateManager.disableDepth();
GlStateManager.enableAlpha();
GlStateManager.alphaFunc(RealOpenGLEnums.GL_GREATER, 0.1F);
gameSettings.limitFramerate = 120;
gameSettings.enableVsync = false;
gameSettings.fancyGraphics = false;
gameSettings.clouds = 0;
gameSettings.particleSetting = 2;
gameSettings.viewBobbing = false;
gameSettings.mipmapLevels = 0;
gameSettings.renderDistanceChunks = 1;
gameSettings.ambientOcclusion = 0;
gameSettings.snooperEnabled = false;
gameSettings.fog = false;
gameSettings.allowBlockAlternatives = false;
gameSettings.fxaa = 0;
gameSettings.field_181151_V = false;
}
};
//public BooleanSetting delay = new BooleanSetting("Chunk delay", "", false);
public FPSOptions(){
addSetting(batchRendering);
addSetting(batchRendering, minSetting);
}
}

View File

@ -76,7 +76,7 @@ public class GameSettings {
public boolean viewBobbing = true;
public boolean anaglyph;
public boolean fboEnable = true;
public int limitFramerate = 120;
public int limitFramerate = 200;
/**+
* Clouds flag
*/