From f946d90b58a0efc6af55b8d1bf637da9a55d747e Mon Sep 17 00:00:00 2001 From: fayer3 Date: Tue, 9 Jul 2024 00:04:54 +0200 Subject: [PATCH] 1.20.5 fixes --- .../org/vivecraft/neoforge/mixin/NeoForgeMinecraftVRMixin.java | 2 +- neoforge/src/main/resources/META-INF/neoforge.mods.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neoforge/src/main/java/org/vivecraft/neoforge/mixin/NeoForgeMinecraftVRMixin.java b/neoforge/src/main/java/org/vivecraft/neoforge/mixin/NeoForgeMinecraftVRMixin.java index 230d392d6..c9ffc0b22 100644 --- a/neoforge/src/main/java/org/vivecraft/neoforge/mixin/NeoForgeMinecraftVRMixin.java +++ b/neoforge/src/main/java/org/vivecraft/neoforge/mixin/NeoForgeMinecraftVRMixin.java @@ -25,7 +25,7 @@ public class NeoForgeMinecraftVRMixin { @Shadow private float pausePartialTick; - @Inject(at = @At(value = "INVOKE", target = "Lnet/neoforged/neoforge/event/EventHooks;onRenderTickEnd(F)V", shift = At.Shift.AFTER), method = "runTick", locals = LocalCapture.CAPTURE_FAILHARD) + @Inject(at = @At(value = "INVOKE", target = "Lnet/neoforged/neoforge/client/ClientHooks;fireRenderFramePost(F)V", shift = At.Shift.AFTER), method = "runTick", locals = LocalCapture.CAPTURE_FAILHARD) public void vivecraft$renderVRPassesNeoForge(boolean renderLevel, CallbackInfo ci, long nanoTime) { if (VRState.vrRunning) { VRPassHelper.renderAndSubmit(renderLevel, nanoTime, this.pause ? this.pausePartialTick : this.timer.partialTick); diff --git a/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/neoforge/src/main/resources/META-INF/neoforge.mods.toml index dc3a9e4e9..8239579a7 100644 --- a/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -23,7 +23,7 @@ updateJSONURL = "https://raw.githubusercontent.com/Vivecraft/VivecraftMod/forge- [[dependencies.vivecraft]] modId = "neoforge" type = "required" -versionRange = "[20.5.0-beta,)" +versionRange = "[20.5.14-beta,)" ordering = "NONE" side = "BOTH"