diff --git a/common/build.gradle b/common/build.gradle index 87bcc23..7a41ad2 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -11,5 +11,5 @@ dependencies { modApi "fuzs.forgeconfigapiport:forgeconfigapiport-common:$rootProject.fcap_version" modCompileOnly "me.shedaniel.cloth:cloth-config:$rootProject.cloth_config_version" modCompileOnly "maven.modrinth:origins:1.10.2+mc.1.20.1" - modCompileOnly "io.github.apace100:apoli-2.9.2-mc.1.20.1:2.9.2+mc.1.20.x" + modCompileOnly "io.github.apace100:apoli:2.9.2+mc.1.20.x" } \ No newline at end of file diff --git a/common/src/main/java/io/github/thatpreston/mermod/mixin/HumanoidModelMixin.java b/common/src/main/java/io/github/thatpreston/mermod/mixin/HumanoidModelMixin.java index 0f28fa6..5e581b5 100644 --- a/common/src/main/java/io/github/thatpreston/mermod/mixin/HumanoidModelMixin.java +++ b/common/src/main/java/io/github/thatpreston/mermod/mixin/HumanoidModelMixin.java @@ -45,6 +45,7 @@ private void onSetupAnim(T entity, float limbSwing, float limbSwingAmount, float this.leftArm.zRot = Mth.lerp(left, this.leftArm.zRot, -z); } this.head.xRot = this.rotlerpRad(this.swimAmount, pitch * 0.017453292F, -Mth.PI / 3); + this.head.yRot = (float)Math.IEEEremainder(this.head.yRot, Mth.TWO_PI); this.head.yRot *= Mth.lerp(this.swimAmount, 1, 0.5F); this.hat.copyFrom(this.head); info.cancel(); diff --git a/fabric/build.gradle b/fabric/build.gradle index d8c4b90..98a0673 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -36,7 +36,7 @@ dependencies { } modImplementation("com.terraformersmc:modmenu:$rootProject.modmenu_version") modImplementation "maven.modrinth:origins:1.10.2+mc.1.20.1" - modImplementation "io.github.apace100:apoli-2.9.2-mc.1.20.1:2.9.2+mc.1.20.x" + modImplementation "io.github.apace100:apoli:2.9.2+mc.1.20.x" common(project(path: ':common', configuration: 'namedElements')) { transitive = false } shadowBundle project(path: ':common', configuration: 'transformProductionFabric') }