diff --git a/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java b/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java index a2afcb78e..885475b02 100644 --- a/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java +++ b/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java @@ -111,7 +111,7 @@ abstract class LevelRendererMixin { flywheel$dispatch(RenderStage.AFTER_TRANSLUCENT_TERRAIN); } - @Group(name = "onStage$afterParticles", min = 2, max = 2) + @Group(name = "onStage$afterParticles", min = 2, max = 3) @Inject(method = "renderLevel", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;F)V", shift = Shift.AFTER)) private void flywheel$onStage$afterParticles$fabric(CallbackInfo ci) { flywheel$dispatch(RenderStage.AFTER_PARTICLES); diff --git a/forge/src/main/java/dev/engine_room/flywheel/impl/mixin/MinecraftMixin.java b/forge/src/main/java/dev/engine_room/flywheel/impl/mixin/MinecraftMixin.java index fb83f05a7..15f884c12 100644 --- a/forge/src/main/java/dev/engine_room/flywheel/impl/mixin/MinecraftMixin.java +++ b/forge/src/main/java/dev/engine_room/flywheel/impl/mixin/MinecraftMixin.java @@ -32,12 +32,12 @@ abstract class MinecraftMixin { return arg0; } - @Inject(method = "lambda$new$7", at = @At("HEAD")) + @Inject(method = "lambda$new$8", at = @At("HEAD")) private void flywheel$onEndInitialResourceReload(@Coerce Object gameLoadCookie, Optional error, CallbackInfo ci) { NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, true, error)); } - @Inject(method = "lambda$reloadResourcePacks$39", at = @At("HEAD")) + @Inject(method = "lambda$reloadResourcePacks$22", at = @At("HEAD")) private void flywheel$onEndManualResourceReload(boolean recovery, @Coerce Object gameLoadCookie, CompletableFuture completablefuture, Optional error, CallbackInfo ci) { NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, false, error)); } diff --git a/gradle.properties b/gradle.properties index a7320e1e0..7dc5dc633 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,9 +13,9 @@ mod_homepage = https://github.com/Jozufozu/Flywheel # Mod dependency declarations minecraft_semver_version_range = >=1.21 <1.21.1 -minecraft_maven_version_range = [1.21,1.21.0) +minecraft_maven_version_range = [1.21,1.21.1) fabric_api_version_range = >=0.100.6 -neoforge_version_range = [21.0.79-beta,) +neoforge_version_range = [21.0.95-beta,) # General build dependency versions java_version = 21 @@ -25,7 +25,7 @@ parchment_version = 2024.07.07 # Minecraft build dependency versions minecraft_version = 1.21 -neoforge_version = 21.0.79-beta +neoforge_version = 21.0.95-beta fabric_loader_version = 0.15.11 fabric_api_version = 0.100.6+1.21