Пример #1
0
        public BlockStateContainer(byte bitsPerBlock = 4)
        {
            this.BitsPerBlock = bitsPerBlock;

            this.BlockStorage = new DataArray(bitsPerBlock);

            this.Palette = bitsPerBlock.DeterminePalette();
        }
Пример #2
0
        public ChunkSection(byte bitsPerBlock = 4, int? yBase = null)
        {
            this.BitsPerBlock = bitsPerBlock;

            this.BlockStorage = new DataArray(bitsPerBlock, 4096);

            this.Palette = bitsPerBlock.DeterminePalette();

            this.YBase = YBase;
        }