src/AnvilPacker/Level/RegionBuffer.cs
/// <summary> Gets the chunk at the specified coordinates, relative to this region. </summary>
Gets the chunk at the specified coordinates, relative to this region.
Gets the chunk at the specified coordinates relative to this region .
public Chunk? GetChunk(int x, int z)
        {
            if ((uint)x >= (uint)Size || (uint)z >= (uint)Size) {
                return null;
            }
            return Chunks[x + z * Size];
        }
public Chunk ? GetChunk ( int x , int z ) { if ( ( uint ) x >= ( uint ) Size || ( uint ) z >= ( uint ) Size ) { return null ; } return Chunks [ x + z * Size ] ; }
Gets the chunk at the specified coordinates, relative to this region.
Gets the chunk at the specified coordinates relative to this region .
x
int
z
int