Example #1
0
        /// <inheritdoc/>
        public void SetBlock(int x, int y, int z, ILitBlock block)
        {
            cache = GetChunk(x, y, z);
            if (cache == null || !Check(x, y, z))
            {
                return;
            }

            cache.Blocks.SetBlock(x, y, z, block);
        }
Example #2
0
        /// <inheritdoc/>
        public void SetBlock(int x, int y, int z, ILitBlock block)
        {
            cache = GetChunk(x, y, z);
            if (cache == null || !Check(x, y, z)) {
                return;
            }

            cache.Blocks.SetBlock(x, y, z, block);
        }
Example #3
0
 /// <inheritdoc/>
 public void SetBlock(int x, int y, int z, ILitBlock block)
 {
     cache.Blocks.SetBlock(x, y, z, block);
 }
 /// <inheritdoc/>
 public void SetBlock(int x, int y, int z, ILitBlock block)
 {
     SetID(x, y, z, block.ID);
     SetBlockLight(x, y, z, block.BlockLight);
     SetSkyLight(x, y, z, block.SkyLight);
 }
Example #5
0
 /// <inheritdoc/>
 public void SetBlock(int x, int y, int z, ILitBlock block)
 {
     cache.Blocks.SetBlock(x, y, z, block);
 }
 /// <inheritdoc/>
 public void SetBlock(int x, int y, int z, ILitBlock block)
 {
     SetID(x, y, z, block.ID);
     SetBlockLight(x, y, z, block.BlockLight);
     SetSkyLight(x, y, z, block.SkyLight);
 }