9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-28 11:19:08 +00:00

Remove stuck speed multiplier getter

This commit is contained in:
Samsuik
2025-02-17 01:49:45 +00:00
parent 4fa7c85bce
commit 99950f433c
8 changed files with 29 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ public record EntityState(Vec3 position, Vec3 momentum, AABB bb, Vec3 stuckSpeed
public static EntityState of(Entity entity) {
return new EntityState(
entity.position(), entity.getDeltaMovement(), entity.getBoundingBox(),
entity.stuckSpeedMultiplier(), entity.mainSupportingBlockPos,
entity.stuckSpeedMultiplier, entity.mainSupportingBlockPos,
entity.onGround(), entity.fallDistance
);
}