public EntityDragon(World worldIn) { super(worldIn); this.dragonPartArray = new EntityDragonPart[] {this.dragonPartHead, this.dragonPartNeck, this.dragonPartBody, this.dragonPartTail1, this.dragonPartTail2, this.dragonPartTail3, this.dragonPartWing1, this.dragonPartWing2}; this.setHealth(this.getMaxHealth()); this.setSize(16.0F, 8.0F); this.noClip = true; this.isImmuneToFire = true; this.growlTime = 100; this.ignoreFrustumCheck = true; if (!worldIn.isRemote && worldIn.provider instanceof WorldProviderEnd) { this.fightManager = ((WorldProviderEnd)worldIn.provider).getDragonFightManager(); } else { this.fightManager = null; } this.phaseManager = new PhaseManager(this); }
public PhaseManager getPhaseManager() { return this.phaseManager; }