private void adjustCartFromHistory(EntityMinecart current, EntityMinecart linked) {
// If we are leading, we don't want to adjust anything
if (isCartLeading(current, linked))
return;
CircularVec3Queue leaderHistory = history.get(linked);
// Optimal distance is how far apart the carts should be
double optimalDist = getOptimalDistance(current, linked);
optimalDist *= optimalDist;