Skip to main content

EntityUpdateAttributesPropertiesKey

Struct EntityUpdateAttributesPropertiesKey 

Source
#[non_exhaustive]
pub struct EntityUpdateAttributesPropertiesKey(pub i32);
Expand description

Mapped i32 value; unknown values are kept as-is.

Tuple Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§0: i32

Implementations§

Source§

impl EntityUpdateAttributesPropertiesKey

Source

pub const AIR_DRAG_MODIFIER: Self

air_drag_modifier

Source

pub const GENERIC_ARMOR: Self

generic.armor

Source

pub const GENERIC_ARMOR_TOUGHNESS: Self

generic.armor_toughness

Source

pub const GENERIC_ATTACK_DAMAGE: Self

generic.attack_damage

Source

pub const GENERIC_ATTACK_KNOCKBACK: Self

generic.attack_knockback

Source

pub const GENERIC_ATTACK_SPEED: Self

generic.attack_speed

Source

pub const BELOW_NAME_DISTANCE: Self

below_name_distance

Source

pub const PLAYER_BLOCK_BREAK_SPEED: Self

player.block_break_speed

Source

pub const PLAYER_BLOCK_INTERACTION_RANGE: Self

player.block_interaction_range

Source

pub const BOUNCINESS: Self

bounciness

Source

pub const BURNING_TIME: Self

burning_time

Source

pub const CAMERA_DISTANCE: Self

camera_distance

Source

pub const EXPLOSION_KNOCKBACK_RESISTANCE: Self

explosion_knockback_resistance

Source

pub const PLAYER_ENTITY_INTERACTION_RANGE: Self

player.entity_interaction_range

Source

pub const GENERIC_FALL_DAMAGE_MULTIPLIER: Self

generic.fall_damage_multiplier

Source

pub const GENERIC_FLYING_SPEED: Self

generic.flying_speed

Source

pub const GENERIC_FOLLOW_RANGE: Self

generic.follow_range

Source

pub const FRICTION_MODIFIER: Self

friction_modifier

Source

pub const GENERIC_GRAVITY: Self

generic.gravity

Source

pub const GENERIC_JUMP_STRENGTH: Self

generic.jump_strength

Source

pub const GENERIC_KNOCKBACK_RESISTANCE: Self

generic.knockback_resistance

Source

pub const GENERIC_LUCK: Self

generic.luck

Source

pub const GENERIC_MAX_ABSORPTION: Self

generic.max_absorption

Source

pub const GENERIC_MAX_HEALTH: Self

generic.max_health

Source

pub const MINING_EFFICIENCY: Self

mining_efficiency

Source

pub const MOVEMENT_EFFICIENCY: Self

movement_efficiency

Source

pub const GENERIC_MOVEMENT_SPEED: Self

generic.movement_speed

Source

pub const NAME_TAG_DISTANCE: Self

name_tag_distance

Source

pub const OXYGEN_BONUS: Self

oxygen_bonus

Source

pub const GENERIC_SAFE_FALL_DISTANCE: Self

generic.safe_fall_distance

Source

pub const GENERIC_SCALE: Self

generic.scale

Source

pub const SNEAKING_SPEED: Self

sneaking_speed

Source

pub const ZOMBIE_SPAWN_REINFORCEMENTS: Self

zombie.spawn_reinforcements

Source

pub const GENERIC_STEP_HEIGHT: Self

generic.step_height

Source

pub const SUBMERGED_MINING_SPEED: Self

submerged_mining_speed

Source

pub const SWEEPING_DAMAGE_RATIO: Self

sweeping_damage_ratio

Source

pub const TEMPT_RANGE: Self

tempt_range

Source

pub const WATER_MOVEMENT_EFFICIENCY: Self

water_movement_efficiency

Source

pub const WAYPOINT_TRANSMIT_RANGE: Self

waypoint_transmit_range

Source

pub const WAYPOINT_RECEIVE_RANGE: Self

waypoint_receive_range

Source

pub const fn new(v: i32) -> Self

The value with wire number v.

Source

pub const fn name(self) -> Option<&'static str>

minecraft-data name of the value, if known.

Trait Implementations§

Source§

impl Clone for EntityUpdateAttributesPropertiesKey

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for EntityUpdateAttributesPropertiesKey

Source§

impl Debug for EntityUpdateAttributesPropertiesKey

Available on crate feature v26_2 only.
Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EntityUpdateAttributesPropertiesKey

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for EntityUpdateAttributesPropertiesKey

Source§

impl Hash for EntityUpdateAttributesPropertiesKey

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for EntityUpdateAttributesPropertiesKey

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

fn clamp_to<R>(self, range: R) -> Self
where Self: Sized, R: ClampBounds<Self>,

🔬This is a nightly-only experimental API. (clamp_to)
Restrict a value to a certain range. Read more
Source§

impl PartialEq for EntityUpdateAttributesPropertiesKey

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for EntityUpdateAttributesPropertiesKey

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for EntityUpdateAttributesPropertiesKey

Auto Trait Implementations§

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> Same for T

Source§

type Output = T

Should always be Self
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 = !

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

fn try_from(value: U) -> Result<T, !>

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.