Class EnderDragonPhase<T extends DragonPhaseInstance>
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.EnderDragonPhase<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic EnderDragonPhase<DragonDeathPhase>
static EnderDragonPhase<DragonHoverPhase>
private int
private Class<? extends DragonPhaseInstance>
static EnderDragonPhase<DragonLandingPhase>
private String
private static EnderDragonPhase<?>[]
static 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_)
-