public BlockStateContainer(byte bitsPerBlock = 4) { this.BitsPerBlock = bitsPerBlock; this.BlockStorage = new DataArray(bitsPerBlock); this.Palette = bitsPerBlock.DeterminePalette(); }
public ChunkSection(byte bitsPerBlock = 4, int? yBase = null) { this.BitsPerBlock = bitsPerBlock; this.BlockStorage = new DataArray(bitsPerBlock, 4096); this.Palette = bitsPerBlock.DeterminePalette(); this.YBase = YBase; }