Class EnderDragonPhase<T extends DragonPhaseInstance>
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.EnderDragonPhase<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EnderDragonPhase
<DragonChargePlayerPhase> static final EnderDragonPhase
<DragonDeathPhase> static final EnderDragonPhase
<DragonHoldingPatternPhase> static final EnderDragonPhase
<DragonHoverPhase> private final int
private final Class
<? extends DragonPhaseInstance> static final EnderDragonPhase
<DragonLandingPhase> static final EnderDragonPhase
<DragonLandingApproachPhase> private final String
private static EnderDragonPhase<?>[]
static final EnderDragonPhase
<DragonSittingAttackingPhase> static final EnderDragonPhase
<DragonSittingFlamingPhase> static final EnderDragonPhase
<DragonSittingScanningPhase> static final EnderDragonPhase
<DragonStrafePlayerPhase> static final EnderDragonPhase
<DragonTakeoffPhase> -
Constructor Summary
ModifierConstructorDescriptionprivate
EnderDragonPhase
(int p_31394_, Class<? extends DragonPhaseInstance> p_31395_, String p_31396_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends DragonPhaseInstance>
EnderDragonPhase<T> createInstance
(EnderDragon p_31401_) static EnderDragonPhase
<?> getById
(int p_31399_) protected Constructor
<? extends DragonPhaseInstance> static int
getCount()
int
getId()
toString()
-
Field Details
-
phases
-
HOLDING_PATTERN
-
STRAFE_PLAYER
-
LANDING_APPROACH
-
LANDING
-
TAKEOFF
-
SITTING_FLAMING
-
SITTING_SCANNING
-
SITTING_ATTACKING
-
CHARGING_PLAYER
-
DYING
-
HOVERING
-
instanceClass
-
id
private final int id -
name
-
-
Constructor Details
-
EnderDragonPhase
private EnderDragonPhase(int p_31394_, Class<? extends DragonPhaseInstance> p_31395_, String p_31396_)
-
-
Method Details
-
createInstance
-
getConstructor
- Throws:
NoSuchMethodException
-
getId
public int getId() -
toString
-
getById
-
getCount
public static int getCount() -
create
private static <T extends DragonPhaseInstance> EnderDragonPhase<T> create(Class<T> p_31403_, String p_31404_)
-