This commit is contained in:
ThisIsALegitUsername 2023-03-05 04:04:46 +00:00
parent 70c63a31e8
commit 040d376c6e
7 changed files with 14454 additions and 14459 deletions

View File

@ -139,11 +139,7 @@ window.addEventListener("load", () => {
<body style="margin:0px;width:100vw;height:100vh;overflow:hidden;" id="game_frame">
<div id = "dividk">
<h1 id="clienttitle">Resent Client</h1>
<h2 id="clientversion">3.5</h2>
<p id="progresstext">0%</p>
<div id="meter">
<span style="width: 0%" id="progress"></span>
</div>
<h2 id="clientversion">3.6</h2>
</body>
</html>

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

@ -17,6 +17,7 @@ public class FPSOptions extends Mod{
public BooleanSetting blockEffects = new BooleanSetting("Remove block effects", "", true);
public BooleanSetting limit = new BooleanSetting("Limit particles", "", true);
public BooleanSetting lowTick = new BooleanSetting("Low animation", "", true);
public BooleanSetting lightUpdates = new BooleanSetting("Light updates", "", false);
public CustomRectSettingDraw minSetting = new CustomRectSettingDraw("Minimal settings", ""){
@Override
public void onChange(){
@ -51,7 +52,7 @@ public class FPSOptions extends Mod{
//public BooleanSetting delay = new BooleanSetting("Chunk delay", "", false);
public FPSOptions(){
addSetting(batchRendering, minSetting);
addSetting(batchRendering, blockEffects, limit, lowTick, lightUpdates, minSetting);
}
}

View File

@ -243,10 +243,8 @@ public class ClickGUI extends GuiScreen {
if(dragging) {
sliderOffset = mouseX-(width-150);
ss.setValue(sliderOffset*(ss.max/100));
}
if(!dragging) {
sliderOffset = (int) ((ss.getValue() * 100)/ss.max);
}else {
sliderOffset = (int) ((ss.getValue() * 100)/ss.max);
}
if(sliderOffset < 0) {
@ -254,7 +252,7 @@ public class ClickGUI extends GuiScreen {
sliderOffset = 0;
}
if(width-141+sliderOffset > width-50) {
if(sliderOffset > 101) {
dragging = false;
sliderOffset = 100;
}

View File

@ -1011,7 +1011,7 @@ public class EntityRenderer implements IResourceManagerReloadListener {
public void renderWorld(float partialTicks, long finishTimeNano) {
long framebufferAge = this.overlayFramebuffer.getAge();
if (framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) {
if (ModManager.fpsOptions.lightUpdates.getValue() && framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) {
this.updateLightmap(partialTicks);
}
if (this.mc.getRenderViewEntity() == null) {