Mob

Struct Mob 

Source
pub struct Mob {
Show 34 fields pub airSupply: Option<i32>, pub allowAlpha: Option<bool>, pub animStep: Option<f32>, pub animStepO: Option<f32>, pub attackTime: Option<i32>, pub bobStrength: Option<f32>, pub dead: Option<bool>, pub deathScore: Option<i32>, pub deathTime: Option<i32>, pub hasHair: Option<bool>, pub health: Option<i32>, pub hurtDir: Option<f32>, pub hurtDuration: Option<i32>, pub hurtTime: Option<i32>, pub invulnerableDuration: Option<i32>, pub invulnerableTime: Option<i32>, pub lastHealth: Option<i32>, pub oRun: Option<f32>, pub oTilt: Option<f32>, pub renderOffset: Option<f32>, pub rot: Option<f32>, pub rotA: Option<f32>, pub rotOffs: Option<f32>, pub run: Option<f32>, pub speed: Option<f32>, pub tickCount: Option<i32>, pub tilt: Option<f32>, pub timeOffs: Option<f32>, pub yBodyRot: Option<f32>, pub yBodyRotO: Option<f32>, pub ai: Option<AI>, pub modelName: Option<String>, pub textureName: Option<String>, pub entity: Option<EntityFields>,
}

Fields§

§airSupply: Option<i32>§allowAlpha: Option<bool>§animStep: Option<f32>§animStepO: Option<f32>§attackTime: Option<i32>§bobStrength: Option<f32>§dead: Option<bool>§deathScore: Option<i32>§deathTime: Option<i32>§hasHair: Option<bool>§health: Option<i32>§hurtDir: Option<f32>§hurtDuration: Option<i32>§hurtTime: Option<i32>§invulnerableDuration: Option<i32>§invulnerableTime: Option<i32>§lastHealth: Option<i32>§oRun: Option<f32>§oTilt: Option<f32>§renderOffset: Option<f32>§rot: Option<f32>§rotA: Option<f32>§rotOffs: Option<f32>§run: Option<f32>§speed: Option<f32>§tickCount: Option<i32>§tilt: Option<f32>§timeOffs: Option<f32>§yBodyRot: Option<f32>§yBodyRotO: Option<f32>§ai: Option<AI>§modelName: Option<String>§textureName: Option<String>§entity: Option<EntityFields>

Implementations§

Source§

impl Mob

Source

pub fn new() -> Self

Trait Implementations§

Source§

impl Clone for Mob

Source§

fn clone(&self) -> Mob

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl Freeze for Mob

§

impl RefUnwindSafe for Mob

§

impl Send for Mob

§

impl Sync for Mob

§

impl Unpin for Mob

§

impl UnwindSafe for Mob

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.