Update fabric loader and api

This commit is contained in:
FlorianMichael 2024-04-19 04:40:27 +02:00
parent 77c3a004b4
commit 036f3e083b
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ org.gradle.parallel=true
# Minecraft/Fabric
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.7
fabric_api_version=0.96.11+1.20.4
loader_version=0.15.10
fabric_api_version=0.97.0+1.20.4
# Project Details
mod_version=3.1.1-SNAPSHOT

View File

@ -189,7 +189,7 @@ public abstract class MixinLivingEntity extends Entity {
@Redirect(method = "tick", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/math/MathHelper;abs(F)F"))
private float alwaysRotateWhenWalkingBackwards(float value) {
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_12)) {
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_11_1)) {
return 0F;
} else {
return MathHelper.abs(value);