Struct NeighborChangedEvent
pub struct NeighborChangedEvent {
pub dimension: Dimension,
pub pos: BlockPos,
pub state: BlockState,
pub changed: BlockKey,
pub moved: bool,
}Expand description
What BlockPart::neighbor_changed is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: Dimension§pos: BlockPos§state: BlockState§changed: BlockKey§moved: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for NeighborChangedEvent
impl RefUnwindSafe for NeighborChangedEvent
impl Send for NeighborChangedEvent
impl Sync for NeighborChangedEvent
impl Unpin for NeighborChangedEvent
impl UnsafeUnpin for NeighborChangedEvent
impl UnwindSafe for NeighborChangedEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more