public NBTag SerializeNBT()
{
NBTCompound tag = new NBTCompound( "Shape" );
tag.Append( "Color", Color );
NBTList points = new NBTList( "Points", NBTType.PointF, Points.Length );
for( int p = 0; p < Points.Length; p++ ) {
points[p] = new NBTag( NBTType.PointF, null, Points[p], points );
}
tag.Append( points );
return tag;
}