ManicDigger.InfiniteHeightCache.SetBlock C# (CSharp) Method

SetBlock() public method

public SetBlock ( int x, int y, int blocktype ) : void
x int
y int
blocktype int
return void
        public void SetBlock(int x, int y, int blocktype)
        {
            GetChunk(x, y)[x % chunksize, y % chunksize] = (byte)blocktype;
        }