diff --git a/Client/src/main/java/de/com/baseband/client/util/render/RenderAdapter.java b/Client/src/main/java/de/com/baseband/client/util/render/RenderAdapter.java index c6fe25e..e498f5c 100644 --- a/Client/src/main/java/de/com/baseband/client/util/render/RenderAdapter.java +++ b/Client/src/main/java/de/com/baseband/client/util/render/RenderAdapter.java @@ -337,9 +337,9 @@ public class RenderAdapter { public static AxisAlignedBB getLiveEntityBB(Entity entity, float partialTicks) { AxisAlignedBB bb = entity.getEntityBoundingBox(); - double shiftX = (entity.posX - entity.lastTickPosX) * (double) partialTicks; - double shiftY = (entity.posY - entity.lastTickPosY) * (double) partialTicks; - double shiftZ = (entity.posZ - entity.lastTickPosZ) * (double) partialTicks; + double shiftX = (entity.prevPosX - entity.posX) * (1d - partialTicks); + double shiftY = (entity.prevPosY - entity.posY) * (1d - partialTicks); + double shiftZ = (entity.prevPosZ - entity.posZ) * (1d - partialTicks); return bb.offset(shiftX, shiftY, shiftZ); }