Fix misc preprocessor directives

This commit is contained in:
Jonas Herzig
2020-03-30 15:30:22 +02:00
parent 190210f950
commit 78ba9bd55e
3 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ public abstract class MixinRenderManager {
//#if MC>=11500
//$$ method = "render",
//#else
//#if MC>=11400
//#if MC>=11400 && FABRIC>=1
method = "render(Lnet/minecraft/entity/Entity;DDDFFZ)V",
//#else
//#if MC>=11400

View File

@@ -31,10 +31,10 @@ public abstract class MixinRenderManager {
@Shadow private float cameraYaw;
//#endif
//#if MC>=11400
//#if MC>=11500
//$$ @Inject(method = "render", at = @At("HEAD"))
//#else
//#if MC>=11400
//#if MC>=11400 && FABRIC>=1
@Inject(method = "render(Lnet/minecraft/entity/Entity;DDDFFZ)V", at = @At("HEAD"))
//#else
//#if MC>=11400

View File

@@ -98,8 +98,8 @@ public class NoGuiScreenshot {
//#if MC>=11400
Image image = new Image(ScreenshotUtils.method_1663(frameWidth, frameHeight, mc.getFramebuffer()));
//#else
// We're using Minecraft's ScreenShotHelper even though it writes the screenshot to
// disk for better maintainability
//$$ // We're using Minecraft's ScreenShotHelper even though it writes the screenshot to
//$$ // disk for better maintainability
//$$ File tmpFolder = Files.createTempDir();
//$$ Image image;
//$$ try {