示例#1
0
        public BlockFluid(BlockFluid bl)
        {
            _blockset = bl._blockset;

            _xdim = bl._xdim;
            _ydim = bl._ydim;
            _zdim = bl._zdim;

            _chunks = new Dictionary<ChunkKey, IBoundedDataBlockCollection>();
        }
示例#2
0
 /// <summary>
 /// Updates internal managers if underlying data, such as TileEntities, have been modified outside of the container.
 /// </summary>
 public void Refresh()
 {
     _lightManager = new BlockLight(this);
     _fluidManager = new BlockFluid(this);
     _tileEntityManager = new BlockTileEntities(_blocks, _tileEntities);
     _tileTickManager = new BlockTileTicks(_blocks, _tileTicks);
 }