Enum minecraft_assets::effects::Effect
source · #[repr(u8)]pub enum Effect {
Show 33 variants
Speed = 1,
Slowness = 2,
Haste = 3,
MiningFatigue = 4,
Strength = 5,
InstantHealth = 6,
InstantDamage = 7,
JumpBoost = 8,
Nausea = 9,
Regeneration = 10,
Resistance = 11,
FireResistance = 12,
WaterBreathing = 13,
Invisibility = 14,
Blindness = 15,
NightVision = 16,
Hunger = 17,
Weakness = 18,
Poison = 19,
Wither = 20,
HealthBoost = 21,
Absorption = 22,
Saturation = 23,
Glowing = 24,
Levitation = 25,
Luck = 26,
BadLuck = 27,
SlowFalling = 28,
ConduitPower = 29,
DolphinsGrace = 30,
BadOmen = 31,
HeroOfTheVillage = 32,
Darkness = 33,
}Expand description
A list of all minecraft effects
Variants§
Speed = 1
Slowness = 2
Haste = 3
MiningFatigue = 4
Strength = 5
InstantHealth = 6
InstantDamage = 7
JumpBoost = 8
Nausea = 9
Regeneration = 10
Resistance = 11
FireResistance = 12
WaterBreathing = 13
Invisibility = 14
Blindness = 15
NightVision = 16
Hunger = 17
Weakness = 18
Poison = 19
Wither = 20
HealthBoost = 21
Absorption = 22
Saturation = 23
Glowing = 24
Levitation = 25
Luck = 26
BadLuck = 27
SlowFalling = 28
ConduitPower = 29
DolphinsGrace = 30
BadOmen = 31
HeroOfTheVillage = 32
Darkness = 33
Trait Implementations§
source§impl PartialEq for Effect
impl PartialEq for Effect
impl Copy for Effect
impl Eq for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
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