Fix misc preprocessor directives
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user