diff --git a/common/src/main/java/eu/midnightdust/midnightcontrols/client/mixin/ClientPlayerEntityMixin.java b/common/src/main/java/eu/midnightdust/midnightcontrols/client/mixin/ClientPlayerEntityMixin.java index affc1e4..ffa352a 100644 --- a/common/src/main/java/eu/midnightdust/midnightcontrols/client/mixin/ClientPlayerEntityMixin.java +++ b/common/src/main/java/eu/midnightdust/midnightcontrols/client/mixin/ClientPlayerEntityMixin.java @@ -77,7 +77,7 @@ public void onMove(MovementType type, Vec3d movement, CallbackInfo ci) { } } - @Inject(method = "tickMovement", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/input/Input;tick(ZF)V", shift = At.Shift.AFTER)) + @Inject(method = "tickMovement", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/input/Input;tick()V", shift = At.Shift.AFTER)) public void onInputUpdate(CallbackInfo ci) { MovementHandler.HANDLER.applyMovement((ClientPlayerEntity) (Object) this); } diff --git a/fabric/build.gradle b/fabric/build.gradle index d937d6f..4a1e8d1 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -92,7 +92,8 @@ unifiedPublishing { curseforge { token = CURSEFORGE_TOKEN id = rootProject.curseforge_id - gameVersions.addAll "Java 21", project.minecraft_version, project.supported_versions + gameVersions.addAll "Java 21", project.minecraft_version + if (project.supported_versions != "") gameVersions.addAll project.supported_versions } } @@ -102,7 +103,8 @@ unifiedPublishing { token = MODRINTH_TOKEN id = rootProject.modrinth_id version = "$project.version-$project.name" - gameVersions.addAll project.minecraft_version, project.supported_versions + gameVersions.addAll project.minecraft_version + if (project.supported_versions != "") gameVersions.addAll project.supported_versions } } } diff --git a/gradle.properties b/gradle.properties index 651052f..3a66198 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,25 +2,25 @@ org.gradle.parallel=true org.gradle.jvmargs=-Xmx2048M -minecraft_version=1.21.3 -supported_versions=1.21.2 -yarn_mappings=1.21.3+build.2 +minecraft_version=1.21.4 +supported_versions= +yarn_mappings=1.21.4+build.1 enabled_platforms=fabric,neoforge archives_base_name=midnightcontrols -mod_version=1.10.1 +mod_version=1.10.2 maven_group=eu.midnightdust release_type=beta modrinth_id = bXX9h73M curseforge_id = 621768 # Configure the IDs here after creating the projects on the websites -midnightlib_version=1.6.4 +midnightlib_version=1.6.6 fabric_loader_version=0.16.9 -fabric_api_version=0.107.3+1.21.3 +fabric_api_version=0.110.5+1.21.4 -neoforge_version=21.3.28-beta +neoforge_version=21.4.9-beta yarn_mappings_patch_neoforge_version = 1.21+build.4 quilt_loader_version=0.19.0-beta.18 diff --git a/neoforge/build.gradle b/neoforge/build.gradle index 5c7d68e..0375b58 100644 --- a/neoforge/build.gradle +++ b/neoforge/build.gradle @@ -104,7 +104,8 @@ unifiedPublishing { curseforge { token = CURSEFORGE_TOKEN id = rootProject.curseforge_id - gameVersions.addAll "Java 21", project.minecraft_version, project.supported_versions + gameVersions.addAll "Java 21", project.minecraft_version + if (project.supported_versions != "") gameVersions.addAll project.supported_versions } } @@ -114,7 +115,8 @@ unifiedPublishing { token = MODRINTH_TOKEN id = rootProject.modrinth_id version = "$project.version-$project.name" - gameVersions.addAll project.minecraft_version, project.supported_versions + gameVersions.addAll project.minecraft_version + if (project.supported_versions != "") gameVersions.addAll project.supported_versions } } }