/// <summary> /// </summary> /// <param name="startIndex">The block index to start copying from.</param> /// <param name="destination">The block IDs from this <see cref="BlockPalette"/>.</returns> /// <returns>The amount of block IDs copied from the chunk.</returns> public int GetBlockId(int startIndex, Span <uint> destination) { return(_blocks.Get((uint)startIndex, destination)); }