public class PhaseManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private EnderDragonEntity |
dragon |
private static org.apache.logging.log4j.Logger |
LOGGER |
private IPhase |
phase |
private IPhase[] |
phases |
Constructor and Description |
---|
PhaseManager(EnderDragonEntity dragonIn) |
Modifier and Type | Method and Description |
---|---|
IPhase |
getCurrentPhase() |
<T extends IPhase> |
getPhase(PhaseType<T> phaseIn) |
void |
setPhase(PhaseType<?> phaseIn) |
private static final org.apache.logging.log4j.Logger LOGGER
private final EnderDragonEntity dragon
private final IPhase[] phases
private IPhase phase
public PhaseManager(EnderDragonEntity dragonIn)