Trait valence::layer::chunk::IntoBlock

source ·
pub trait IntoBlock {
    // Required method
    fn into_block(self) -> Block;
}

Required Methods§

Implementors§

source§

impl IntoBlock for BlockState

This will initialize the block with a new empty compound if the block state is associated with a block entity.

source§

impl IntoBlock for Block

source§

impl<'a> IntoBlock for BlockRef<'a>