Enum minecraft_data::potion
source · #[repr(u8)]pub enum potion {
Show 43 variants
empty = 0,
water = 1,
mundane = 2,
thick = 3,
awkward = 4,
night_vision = 5,
long_night_vision = 6,
invisibility = 7,
long_invisibility = 8,
leaping = 9,
long_leaping = 10,
strong_leaping = 11,
fire_resistance = 12,
long_fire_resistance = 13,
swiftness = 14,
long_swiftness = 15,
strong_swiftness = 16,
slowness = 17,
long_slowness = 18,
strong_slowness = 19,
turtle_master = 20,
long_turtle_master = 21,
strong_turtle_master = 22,
water_breathing = 23,
long_water_breathing = 24,
healing = 25,
strong_healing = 26,
harming = 27,
strong_harming = 28,
poison = 29,
long_poison = 30,
strong_poison = 31,
regeneration = 32,
long_regeneration = 33,
strong_regeneration = 34,
strength = 35,
long_strength = 36,
strong_strength = 37,
weakness = 38,
long_weakness = 39,
luck = 40,
slow_falling = 41,
long_slow_falling = 42,
}Variants§
empty = 0
water = 1
mundane = 2
thick = 3
awkward = 4
night_vision = 5
long_night_vision = 6
invisibility = 7
long_invisibility = 8
leaping = 9
long_leaping = 10
strong_leaping = 11
fire_resistance = 12
long_fire_resistance = 13
swiftness = 14
long_swiftness = 15
strong_swiftness = 16
slowness = 17
long_slowness = 18
strong_slowness = 19
turtle_master = 20
long_turtle_master = 21
strong_turtle_master = 22
water_breathing = 23
long_water_breathing = 24
healing = 25
strong_healing = 26
harming = 27
strong_harming = 28
poison = 29
long_poison = 30
strong_poison = 31
regeneration = 32
long_regeneration = 33
strong_regeneration = 34
strength = 35
long_strength = 36
strong_strength = 37
weakness = 38
long_weakness = 39
luck = 40
slow_falling = 41
long_slow_falling = 42
Implementations§
Trait Implementations§
source§impl PartialEq for potion
impl PartialEq for potion
impl Copy for potion
impl Eq for potion
impl StructuralEq for potion
impl StructuralPartialEq for potion
Auto Trait Implementations§
impl RefUnwindSafe for potion
impl Send for potion
impl Sync for potion
impl Unpin for potion
impl UnwindSafe for potion
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