public class PhaseManager extends Object
| Modifier and Type | Field and Description |
|---|---|
private Phase |
current |
private EnderDragonEntity |
dragon |
private static Logger |
LOGGER |
private Phase[] |
phases |
| Constructor and Description |
|---|
PhaseManager(EnderDragonEntity dragon) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Phase> |
create(PhaseType<T> type) |
Phase |
getCurrent() |
void |
setPhase(PhaseType<?> type) |
private static final Logger LOGGER
private final EnderDragonEntity dragon
private final Phase[] phases
private Phase current
public PhaseManager(EnderDragonEntity dragon)