Struct ItemAfterVerticalCollisionEvent
pub struct ItemAfterVerticalCollisionEvent<'a> {
pub dimension: &'a str,
pub client: bool,
pub entity: u32,
pub state: BlockState,
pub block_pos: [i32; 3],
pub item_pos: [f64; 3],
pub stack: &'a mut Option<ItemStack>,
}Expand description
What BlockPart::item_after_vertical_collision is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§client: bool§entity: u32§state: BlockState§block_pos: [i32; 3]§item_pos: [f64; 3]§stack: &'a mut Option<ItemStack>Auto Trait Implementations§
impl<'a> !UnwindSafe for ItemAfterVerticalCollisionEvent<'a>
impl<'a> Freeze for ItemAfterVerticalCollisionEvent<'a>
impl<'a> RefUnwindSafe for ItemAfterVerticalCollisionEvent<'a>
impl<'a> Send for ItemAfterVerticalCollisionEvent<'a>
impl<'a> Sync for ItemAfterVerticalCollisionEvent<'a>
impl<'a> Unpin for ItemAfterVerticalCollisionEvent<'a>
impl<'a> UnsafeUnpin for ItemAfterVerticalCollisionEvent<'a>
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