Struct PlayerItemSmithedEvent
pub struct PlayerItemSmithedEvent<'a> {
pub player: u128,
pub player_entity_id: i32,
pub inputs: &'a [Option<ItemStack>; 3],
pub result: &'a ItemStack,
}Expand description
What Hooks::player_item_smithed is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§player_entity_id: i32§inputs: &'a [Option<ItemStack>; 3]§result: &'a ItemStackAuto Trait Implementations§
impl<'a> Freeze for PlayerItemSmithedEvent<'a>
impl<'a> RefUnwindSafe for PlayerItemSmithedEvent<'a>
impl<'a> Send for PlayerItemSmithedEvent<'a>
impl<'a> Sync for PlayerItemSmithedEvent<'a>
impl<'a> Unpin for PlayerItemSmithedEvent<'a>
impl<'a> UnsafeUnpin for PlayerItemSmithedEvent<'a>
impl<'a> UnwindSafe for PlayerItemSmithedEvent<'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