diff options
author | makamys <makamys@outlook.com> | 2021-05-06 16:59:07 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2021-05-06 16:59:07 +0200 |
commit | bc6c84d2d2342073b6f4d1b8c1213b7102bb7ebf (patch) | |
tree | a894f8ca316127650c1ed50c55d0c3b81195018b /src | |
parent | aef53a74b1bc577aa504f17488db3e5a4dad2e78 (diff) | |
download | Neodymium-bc6c84d2d2342073b6f4d1b8c1213b7102bb7ebf.tar.gz Neodymium-bc6c84d2d2342073b6f4d1b8c1213b7102bb7ebf.tar.bz2 Neodymium-bc6c84d2d2342073b6f4d1b8c1213b7102bb7ebf.zip |
Implement EntityRenderer changes
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/lodmod/mixin/MixinEntityRenderer.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/makamys/lodmod/mixin/MixinEntityRenderer.java b/src/main/java/makamys/lodmod/mixin/MixinEntityRenderer.java index 0727b31..933b577 100644 --- a/src/main/java/makamys/lodmod/mixin/MixinEntityRenderer.java +++ b/src/main/java/makamys/lodmod/mixin/MixinEntityRenderer.java @@ -7,7 +7,6 @@ import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Redirect; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import org.spongepowered.asm.mixin.injection.callback.LocalCapture; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.EntityRenderer; @@ -22,9 +21,7 @@ abstract class MixinEntityRenderer { @Inject(method = "setupCameraTransform", at = @At(value = "FIELD", target = "Lnet/minecraft/client/renderer/EntityRenderer;farPlaneDistance:F", shift = At.Shift.AFTER, args = "log=true", ordinal = 0)) private void onConstructed(CallbackInfo ci) { - //System.out.println("farPlaneDistance before: " + farPlaneDistance); farPlaneDistance *= 4; - //System.out.println("farPlaneDistance after: " + farPlaneDistance); } @Inject(method = "renderWorld", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glAlphaFunc(IF)V", shift = At.Shift.AFTER, ordinal = 1)) |