Struct azalea_block::ObserverBlock
source · pub struct ObserverBlock {
pub facing: FacingCubic,
pub powered: bool,
}
Fields§
§facing: FacingCubic
§powered: bool
Trait Implementations§
source§impl Block for ObserverBlock
impl Block for ObserverBlock
fn behavior(&self) -> BlockBehavior
fn id(&self) -> &'static str
fn as_blockstate(&self) -> BlockState
source§impl Clone for ObserverBlock
impl Clone for ObserverBlock
source§fn clone(&self) -> ObserverBlock
fn clone(&self) -> ObserverBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObserverBlock
impl Debug for ObserverBlock
source§impl Default for ObserverBlock
impl Default for ObserverBlock
source§impl From<ObserverBlock> for BlockState
impl From<ObserverBlock> for BlockState
source§fn from(b: ObserverBlock) -> Self
fn from(b: ObserverBlock) -> Self
Converts to this type from the input type.