ratio
This commit is contained in:
parent
d59fd57dd5
commit
be9d08cebf
32550
javascript/badwifi/Resent_3.6_patch_1.8_International.html
Normal file
32550
javascript/badwifi/Resent_3.6_patch_1.8_International.html
Normal file
File diff suppressed because one or more lines are too long
32550
javascript/badwifi/Resent_3.6_patch__1.8_US.html
Normal file
32550
javascript/badwifi/Resent_3.6_patch__1.8_US.html
Normal file
File diff suppressed because one or more lines are too long
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
|
@ -17,7 +17,7 @@ public class FPSOptions extends Mod{
|
||||||
public BooleanSetting blockEffects = new BooleanSetting("Remove block effects", "", true);
|
public BooleanSetting blockEffects = new BooleanSetting("Remove block effects", "", true);
|
||||||
public BooleanSetting limit = new BooleanSetting("Limit particles", "", true);
|
public BooleanSetting limit = new BooleanSetting("Limit particles", "", true);
|
||||||
public BooleanSetting lowTick = new BooleanSetting("Low animation", "", true);
|
public BooleanSetting lowTick = new BooleanSetting("Low animation", "", true);
|
||||||
public BooleanSetting lightUpdates = new BooleanSetting("Light updates", "", false);
|
public BooleanSetting lightUpdates = new BooleanSetting("No light updates", "", false);
|
||||||
public BooleanSetting noArmSwing = new BooleanSetting("No limb swing", "", true);
|
public BooleanSetting noArmSwing = new BooleanSetting("No limb swing", "", true);
|
||||||
public BooleanSetting reducedWater = new BooleanSetting("Reduced water lag", "", true);
|
public BooleanSetting reducedWater = new BooleanSetting("Reduced water lag", "", true);
|
||||||
public CustomRectSettingDraw minSetting = new CustomRectSettingDraw("Minimal settings", ""){
|
public CustomRectSettingDraw minSetting = new CustomRectSettingDraw("Minimal settings", ""){
|
||||||
|
|
|
@ -674,7 +674,7 @@ public class EntityRenderer implements IResourceManagerReloadListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateLightmap(float partialTicks) {
|
private void updateLightmap(float partialTicks) {
|
||||||
if (this.lightmapUpdateNeeded) {
|
if (this.lightmapUpdateNeeded && !ModManager.fpsOptions.lightUpdates.getValue()) {
|
||||||
this.mc.mcProfiler.startSection("lightTex");
|
this.mc.mcProfiler.startSection("lightTex");
|
||||||
WorldClient worldclient = this.mc.theWorld;
|
WorldClient worldclient = this.mc.theWorld;
|
||||||
if (worldclient != null) {
|
if (worldclient != null) {
|
||||||
|
@ -1011,7 +1011,7 @@ public class EntityRenderer implements IResourceManagerReloadListener {
|
||||||
|
|
||||||
public void renderWorld(float partialTicks, long finishTimeNano) {
|
public void renderWorld(float partialTicks, long finishTimeNano) {
|
||||||
long framebufferAge = this.overlayFramebuffer.getAge();
|
long framebufferAge = this.overlayFramebuffer.getAge();
|
||||||
if (ModManager.fpsOptions.lightUpdates.getValue() && framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) {
|
if (framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) {
|
||||||
this.updateLightmap(partialTicks);
|
this.updateLightmap(partialTicks);
|
||||||
}
|
}
|
||||||
if (this.mc.getRenderViewEntity() == null) {
|
if (this.mc.getRenderViewEntity() == null) {
|
||||||
|
|
|
@ -2108,10 +2108,9 @@ public abstract class World implements IBlockAccess {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean checkLightFor(EnumSkyBlock lightType, BlockPos pos) {
|
public boolean checkLightFor(EnumSkyBlock lightType, BlockPos pos) {
|
||||||
if(!ModManager.fpsOptions.lightUpdates.getValue()){
|
if(ModManager.fpsOptions.lightUpdates.getValue()){
|
||||||
return true;
|
return true;
|
||||||
}
|
}else if (!this.isAreaLoaded(pos, 17, false)) {
|
||||||
if (!this.isAreaLoaded(pos, 17, false)) {
|
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user