Enum entmet_lib::entities::entity::EnderDragonPhase
source · #[repr(u8)]pub enum EnderDragonPhase {
Circling = 0,
Strafing = 1,
FlyingToThePortalToLand = 2,
LandingOnThePortal = 3,
TakingOffFromThePortal = 4,
LandedPerformingBreathAttack = 5,
LandedLookingForAPlayerForBreathAttack = 6,
LandedRoarBeforeBeginningBreathAttack = 7,
ChargingPlayer = 8,
FlyingToPortalToDie = 9,
HoveringWithNoAI = 10,
}Expand description
Ender Dragon Phase for more info refer to this: https://minecraft.wiki/w/Ender_Dragon#Data_values and this: https://wiki.vg/Entity_metadata#Ender_Dragon
Variants§
Circling = 0
Strafing = 1
FlyingToThePortalToLand = 2
LandingOnThePortal = 3
TakingOffFromThePortal = 4
LandedPerformingBreathAttack = 5
LandedLookingForAPlayerForBreathAttack = 6
LandedRoarBeforeBeginningBreathAttack = 7
ChargingPlayer = 8
FlyingToPortalToDie = 9
HoveringWithNoAI = 10
Trait Implementations§
source§impl Default for EnderDragonPhase
impl Default for EnderDragonPhase
source§fn default() -> EnderDragonPhase
fn default() -> EnderDragonPhase
Returns the “default value” for a type. Read more
source§impl PartialEq for EnderDragonPhase
impl PartialEq for EnderDragonPhase
source§fn eq(&self, other: &EnderDragonPhase) -> bool
fn eq(&self, other: &EnderDragonPhase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EnderDragonPhase
Auto Trait Implementations§
impl Freeze for EnderDragonPhase
impl RefUnwindSafe for EnderDragonPhase
impl Send for EnderDragonPhase
impl Sync for EnderDragonPhase
impl Unpin for EnderDragonPhase
impl UnwindSafe for EnderDragonPhase
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