Struct EntityMobGriefingEvent
pub struct EntityMobGriefingEvent {
pub entity: EntityRef,
pub can_grief: bool,
}Expand description
What Hooks::entity_mob_griefing is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: EntityRef§can_grief: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for EntityMobGriefingEvent
impl RefUnwindSafe for EntityMobGriefingEvent
impl Send for EntityMobGriefingEvent
impl Sync for EntityMobGriefingEvent
impl Unpin for EntityMobGriefingEvent
impl UnsafeUnpin for EntityMobGriefingEvent
impl UnwindSafe for EntityMobGriefingEvent
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