generated from MrSphay/codex-agent-repository-kit
This commit is contained in:
@@ -85,7 +85,7 @@ public class Blur {
|
||||
|
||||
public static void onClientTick() {
|
||||
float intensity;
|
||||
Minecraft mc = Minecraft.m_91087_();
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if (mc.m_91104_() || phase == Phase.IDLE) {
|
||||
return;
|
||||
}
|
||||
@@ -119,8 +119,8 @@ public class Blur {
|
||||
}
|
||||
}
|
||||
currentIntensity = intensity;
|
||||
if (mc.f_91074_ != null) {
|
||||
ConcussionAudioEffect.updateHeartbeat(mc.f_91074_, currentIntensity);
|
||||
if (mc.player != null) {
|
||||
ConcussionAudioEffect.updateHeartbeat(mc.player, currentIntensity);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ public class Blur {
|
||||
if (!Blur.shouldRenderStage(stage)) {
|
||||
return;
|
||||
}
|
||||
Minecraft mc = Minecraft.m_91087_();
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if (mc == null) {
|
||||
return;
|
||||
}
|
||||
@@ -170,11 +170,11 @@ public class Blur {
|
||||
}
|
||||
|
||||
private static boolean isFirstPerson() {
|
||||
Minecraft mc = Minecraft.m_91087_();
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if (mc == null) {
|
||||
return false;
|
||||
}
|
||||
return mc.f_91066_.m_92176_().m_90612_();
|
||||
return mc.options.m_92176_().m_90612_();
|
||||
}
|
||||
|
||||
private static void ensureTarget(int width, int height) {
|
||||
|
||||
Reference in New Issue
Block a user