well, its not gonna be compatible either, but at least particles won't render in 20fps. fixes #393. fixes #444
This commit is contained in:
1 parent
208d07bf47
commit
137a87298c
1 file changed
+3
-2
@@ -15,7 +15,7 @@ public class WorldRenderer_pausedShakeMixin
|
|||||||
{
|
{
|
||||||
@Shadow @Final private MinecraftClient client;
|
@Shadow @Final private MinecraftClient client;
|
||||||
|
|
||||||
float initial = 0.0f;
|
float initial = -1234.0f;
|
||||||
|
|
||||||
// require 0 is for optifine being a bitch as it usually is.
|
// require 0 is for optifine being a bitch as it usually is.
|
||||||
@ModifyVariable(method = "render", argsOnly = true, require = 0, ordinal = 0, at = @At(
|
@ModifyVariable(method = "render", argsOnly = true, require = 0, ordinal = 0, at = @At(
|
||||||
@@ -37,7 +37,8 @@ public class WorldRenderer_pausedShakeMixin
|
|||||||
))
|
))
|
||||||
private float changeTickPhaseBack(float previous)
|
private float changeTickPhaseBack(float previous)
|
||||||
{
|
{
|
||||||
return initial;
|
// this may not set with optifine bitch
|
||||||
|
return initial==-1234.0f?previous:initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user