diff options
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java')
-rw-r--r-- | src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java index 3eed7b2..f3a4301 100644 --- a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java +++ b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java @@ -24,7 +24,7 @@ abstract class MixinRenderGlobal { private boolean nd$isInsideUpdateRenderers; @Inject(method = "renderAllRenderLists", at = @At(value = "HEAD"), cancellable = true) - private void preRenderAllRenderLists(int p1, double p2, CallbackInfo ci) { + private void blockVanillaChunkRendering(int p1, double p2, CallbackInfo ci) { if(!Neodymium.shouldRenderVanillaWorld()) { ci.cancel(); } @@ -43,7 +43,7 @@ abstract class MixinRenderGlobal { } @Inject(method = "updateRenderers", at = @At(value = "RETURN")) - public void postUpdateRenderers(EntityLivingBase entity, boolean flag, CallbackInfoReturnable<Boolean> cir) { + public void speedUpChunkUpdatesForDebug(EntityLivingBase entity, boolean flag, CallbackInfoReturnable<Boolean> cir) { if(Neodymium.isActive() && !nd$isInsideUpdateRenderers) { nd$isInsideUpdateRenderers = true; for(int i = 0; i < Neodymium.renderer.rendererSpeedup; i++) { |