Function fastanvil::bits_per_block[][src]

pub fn bits_per_block(palette_len: usize) -> usize
Expand description

Get the number of bits that will be used in Blockstates per block.

See anvil::expand_blockstates for more information.