Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down