Double locationY = location.getY();
Double locationZ = location.getZ();
Float pitch = location.getPitch();
Float yaw = location.getYaw();
Vector velocity = entity.getVelocity();
Double velocityX = velocity.getX();
Double velocityY = trimEntityVelocityY(velocity.getY());
Double velocityZ = velocity.getZ();
return valueOf(world, null, null, null, locationX, locationY, locationZ, null, null, pitch, yaw, velocityX, velocityY, velocityZ);
}