Esempio n. 1
0
        public void SetBlock(int bx, int by, int bz, byte bid)
        {
            //int i = 30 - (16*(30 >> 4));

            Chunk chunk = chunks[by >> 4];

            chunk.SetBlock(bx, by - 16 * (by >> 4), bz, bid);
            SetDirty();
        }
Esempio n. 2
0
        public void SetBlock(int bx, int by, int bz, byte bid)
        {
            //int i = 30 - (16*(30 >> 4));

            Chunk chunk = chunks[by >> 4];

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