Struct PreRemoveSideEffectsEvent
pub struct PreRemoveSideEffectsEvent<'a> {
pub pos: BlockPos,
pub state: BlockState,
pub entity: &'a ModBlockEntity,
pub drops: &'a mut Vec<ItemStack>,
}Expand description
What BlockEntityPart::pre_remove_side_effects is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§pos: BlockPos§state: BlockState§entity: &'a ModBlockEntity§drops: &'a mut Vec<ItemStack>Auto Trait Implementations§
impl<'a> !UnwindSafe for PreRemoveSideEffectsEvent<'a>
impl<'a> Freeze for PreRemoveSideEffectsEvent<'a>
impl<'a> RefUnwindSafe for PreRemoveSideEffectsEvent<'a>
impl<'a> Send for PreRemoveSideEffectsEvent<'a>
impl<'a> Sync for PreRemoveSideEffectsEvent<'a>
impl<'a> Unpin for PreRemoveSideEffectsEvent<'a>
impl<'a> UnsafeUnpin for PreRemoveSideEffectsEvent<'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