Struct CreateFluidSourceEvent
pub struct CreateFluidSourceEvent {
pub dimension: Dimension,
pub pos: BlockPos,
pub state: BlockState,
pub can_convert: bool,
}Expand description
What Hooks::create_fluid_source 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§can_convert: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for CreateFluidSourceEvent
impl RefUnwindSafe for CreateFluidSourceEvent
impl Send for CreateFluidSourceEvent
impl Sync for CreateFluidSourceEvent
impl Unpin for CreateFluidSourceEvent
impl UnsafeUnpin for CreateFluidSourceEvent
impl UnwindSafe for CreateFluidSourceEvent
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