#[repr(u8)]pub enum enchantment_effect_component_type {
Show 30 variants
damage_protection = 0,
damage_immunity = 1,
damage = 2,
smash_damage_per_fallen_block = 3,
knockback = 4,
armor_effectiveness = 5,
post_attack = 6,
hit_block = 7,
item_damage = 8,
attributes = 9,
equipment_drops = 10,
location_changed = 11,
tick = 12,
ammo_use = 13,
projectile_piercing = 14,
projectile_spawned = 15,
projectile_spread = 16,
projectile_count = 17,
trident_return_acceleration = 18,
fishing_time_reduction = 19,
fishing_luck_bonus = 20,
block_experience = 21,
mob_experience = 22,
repair_with_xp = 23,
crossbow_charge_time = 24,
crossbow_charging_sounds = 25,
trident_sound = 26,
prevent_equipment_drop = 27,
prevent_armor_change = 28,
trident_spin_attack_strength = 29,
}Variants§
damage_protection = 0
damage_immunity = 1
damage = 2
smash_damage_per_fallen_block = 3
knockback = 4
armor_effectiveness = 5
post_attack = 6
hit_block = 7
item_damage = 8
attributes = 9
equipment_drops = 10
location_changed = 11
tick = 12
ammo_use = 13
projectile_piercing = 14
projectile_spawned = 15
projectile_spread = 16
projectile_count = 17
trident_return_acceleration = 18
fishing_time_reduction = 19
fishing_luck_bonus = 20
block_experience = 21
mob_experience = 22
repair_with_xp = 23
crossbow_charge_time = 24
crossbow_charging_sounds = 25
trident_sound = 26
prevent_equipment_drop = 27
prevent_armor_change = 28
trident_spin_attack_strength = 29
Implementations§
Trait Implementations§
Source§impl Clone for enchantment_effect_component_type
impl Clone for enchantment_effect_component_type
Source§fn clone(&self) -> enchantment_effect_component_type
fn clone(&self) -> enchantment_effect_component_type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for enchantment_effect_component_type
impl PartialEq for enchantment_effect_component_type
Source§fn eq(&self, other: &enchantment_effect_component_type) -> bool
fn eq(&self, other: &enchantment_effect_component_type) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for enchantment_effect_component_type
impl Eq for enchantment_effect_component_type
impl StructuralPartialEq for enchantment_effect_component_type
Auto Trait Implementations§
impl Freeze for enchantment_effect_component_type
impl RefUnwindSafe for enchantment_effect_component_type
impl Send for enchantment_effect_component_type
impl Sync for enchantment_effect_component_type
impl Unpin for enchantment_effect_component_type
impl UnwindSafe for enchantment_effect_component_type
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