示例#1
0
        public void SetBlocklight(int bx, int by, int bz, byte data)
        {
            Chunk chunk = chunks[by >> 4];

            chunk.SetBlocklight(bx, by - 16 * (by >> 4), bz, data);
            //SetDirty();
        }
示例#2
0
        public void SetBlocklight(int bx, int by, int bz, byte data)
        {
            Chunk chunk = chunks[by >> 4];

            chunk.SetBlocklight(bx, by - 16 * (by >> 4), bz, data);
            _cache  = null;
            isDirty = true;
        }