                }

                boolean isNotCollidingBefore = worldserver.getCollisionBoxes(riddenEntity, riddenEntity.getEntityBoundingBox()).isEmpty();
                
                double preEntityPosX = riddenEntity.posX;
                double preEntityPosY = riddenEntity.posY;
