diff --git a/src/main/java/com/replaymod/render/mixin/Mixin_SkipHudDuringRender.java b/src/main/java/com/replaymod/render/mixin/Mixin_SkipHudDuringRender.java index 328b726..32f9c89 100644 --- a/src/main/java/com/replaymod/render/mixin/Mixin_SkipHudDuringRender.java +++ b/src/main/java/com/replaymod/render/mixin/Mixin_SkipHudDuringRender.java @@ -3,13 +3,14 @@ import com.replaymod.render.hooks.EntityRendererHandler; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.hud.InGameHud; +import net.minecraftforge.client.gui.overlay.ForgeGui; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; //#if MC>=11400 -@Mixin(InGameHud.class) +@Mixin(ForgeGui.class) //#else //$$ @Mixin({ GuiIngame.class, net.minecraftforge.client.GuiIngameForge.class }) //#endif diff --git a/src/main/java/com/replaymod/render/rendering/VideoRenderer.java b/src/main/java/com/replaymod/render/rendering/VideoRenderer.java index d3d0eb6..35c2ec0 100644 --- a/src/main/java/com/replaymod/render/rendering/VideoRenderer.java +++ b/src/main/java/com/replaymod/render/rendering/VideoRenderer.java @@ -666,22 +666,22 @@ public static String[] checkCompat(Stream settings) { public static String[] checkCompat(RenderSettings settings) { //#if FABRIC>=1 - if (LoadingModList.get().getModFileById("embeddium") != null && !FlawlessFrames.hasSodium()) { - return new String[] { - "Rendering is not supported with your Sodium version.", - "It is missing support for the FREX Flawless Frames API.", - "Either use the Sodium build from replaymod.com or uninstall Sodium before rendering!", - }; - } - //#if MC>=11700 - if (settings.getRenderMethod() == RenderSettings.RenderMethod.ODS - && LoadingModList.get().getModFileById("oculus") == null) { - return new String[] { - "ODS export requires Iris to be installed for Minecraft 1.17 and above.", - "Note that it is nevertheless incompatible with other shaders and will simply replace them.", - "Get it from: https://irisshaders.net/", - }; - } +// if (LoadingModList.get().getModFileById("embeddium") != null && !FlawlessFrames.hasSodium()) { +// return new String[] { +// "Rendering is not supported with your Sodium version.", +// "It is missing support for the FREX Flawless Frames API.", +// "Either use the Sodium build from replaymod.com or uninstall Sodium before rendering!", +// }; +// } +// //#if MC>=11700 +// if (settings.getRenderMethod() == RenderSettings.RenderMethod.ODS +// && LoadingModList.get().getModFileById("oculus") == null) { +// return new String[] { +// "ODS export requires Iris to be installed for Minecraft 1.17 and above.", +// "Note that it is nevertheless incompatible with other shaders and will simply replace them.", +// "Get it from: https://irisshaders.net/", +// }; +// } //#endif //#endif return null;