Java 类net.minecraft.entity.boss.dragon.phase.PhaseManager 实例源码

项目:Backmemed    文件:EntityDragon.java   
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);
}
项目:CustomWorldGen    文件:EntityDragon.java   
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);
}
项目:ExpandedRailsMod    文件:EntityDragon.java   
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);
}
项目:Backmemed    文件:EntityDragon.java   
public PhaseManager getPhaseManager()
{
    return this.phaseManager;
}
项目:CustomWorldGen    文件:EntityDragon.java   
public PhaseManager getPhaseManager()
{
    return this.phaseManager;
}
项目:ExpandedRailsMod    文件:EntityDragon.java   
public PhaseManager getPhaseManager()
{
    return this.phaseManager;
}