Struct entmet_lib::entities::entity::Wither
source · pub struct Wither {
pub center_head_target: Option<i32>,
pub left_head_target: Option<i32>,
pub right_head_target: Option<i32>,
pub invulnerable_time: i32,
/* private fields */
}Expand description
An instance of a wither
Fields§
§center_head_target: Option<i32>Target id of the center header
left_head_target: Option<i32>Target id of the left header
right_head_target: Option<i32>Target id of the right header
invulnerable_time: i32The amount of ticks that the wither is still invulnerable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wither
impl RefUnwindSafe for Wither
impl Send for Wither
impl Sync for Wither
impl Unpin for Wither
impl UnwindSafe for Wither
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