public AnvilBlockManager(IChunkManager cm) : base(cm) { IChunk c = AnvilChunk.Create(0, 0); chunkXDim = c.Blocks.XDim; chunkYDim = c.Blocks.YDim; chunkZDim = c.Blocks.ZDim; chunkXMask = chunkXDim - 1; chunkYMask = chunkYDim - 1; chunkZMask = chunkZDim - 1; chunkXLog = Log2(chunkXDim); chunkYLog = Log2(chunkYDim); chunkZLog = Log2(chunkZDim); }
protected override IChunk CreateChunkVerifiedCore(NbtTree tree) { return(AnvilChunk.CreateVerified(tree)); }
protected override IChunk CreateChunkCore(int cx, int cz) { return(AnvilChunk.Create(cx, cz)); }