本文整理汇总了Java中net.minecraft.entity.boss.dragon.phase.PhaseManager类的典型用法代码示例。如果您正苦于以下问题:Java PhaseManager类的具体用法?Java PhaseManager怎么用?Java PhaseManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PhaseManager类属于net.minecraft.entity.boss.dragon.phase包,在下文中一共展示了PhaseManager类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: EntityDragon
import net.minecraft.entity.boss.dragon.phase.PhaseManager; //导入依赖的package包/类
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);
}
示例2: getPhaseManager
import net.minecraft.entity.boss.dragon.phase.PhaseManager; //导入依赖的package包/类
public PhaseManager getPhaseManager()
{
return this.phaseManager;
}