本文整理汇总了Java中net.minecraft.entity.boss.EntityWither.func_82207_a方法的典型用法代码示例。如果您正苦于以下问题:Java EntityWither.func_82207_a方法的具体用法?Java EntityWither.func_82207_a怎么用?Java EntityWither.func_82207_a使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.entity.boss.EntityWither
的用法示例。
在下文中一共展示了EntityWither.func_82207_a方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setLivingAnimations
import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
/**
* Used for easily adding entity-dependent animations. The second and third float params here are the same second
* and third as in the setRotationAngles method.
*/
public void setLivingAnimations(EntityLivingBase entitylivingbaseIn, float p_78086_2_, float p_78086_3_, float partialTickTime)
{
EntityWither entitywither = (EntityWither)entitylivingbaseIn;
for (int i = 1; i < 3; ++i)
{
this.field_82904_b[i].rotateAngleY = (entitywither.func_82207_a(i - 1) - entitylivingbaseIn.renderYawOffset) / (180F / (float)Math.PI);
this.field_82904_b[i].rotateAngleX = entitywither.func_82210_r(i - 1) / (180F / (float)Math.PI);
}
}
示例2: setLivingAnimations
import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
/**
* Used for easily adding entity-dependent animations. The second and third float params here are the same second
* and third as in the setRotationAngles method.
*/
public void setLivingAnimations(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4)
{
EntityWither var5 = (EntityWither)par1EntityLivingBase;
for (int var6 = 1; var6 < 3; ++var6)
{
this.field_82904_b[var6].rotateAngleY = (var5.func_82207_a(var6 - 1) - par1EntityLivingBase.renderYawOffset) / (180F / (float)Math.PI);
this.field_82904_b[var6].rotateAngleX = var5.func_82210_r(var6 - 1) / (180F / (float)Math.PI);
}
}
示例3: setLivingAnimations
import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
public void setLivingAnimations(EntityLivingBase p_78086_1_, float p_78086_2_, float p_78086_3_, float p_78086_4_)
{
EntityWither entitywither = (EntityWither)p_78086_1_;
for (int i = 1; i < 3; ++i)
{
this.field_82904_b[i].rotateAngleY = (entitywither.func_82207_a(i - 1) - p_78086_1_.renderYawOffset) / (180F / (float)Math.PI);
this.field_82904_b[i].rotateAngleX = entitywither.func_82210_r(i - 1) / (180F / (float)Math.PI);
}
}
示例4: func_78086_a
import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
public void func_78086_a(EntityLivingBase p_78086_1_, float p_78086_2_, float p_78086_3_, float p_78086_4_) {
EntityWither var5 = (EntityWither)p_78086_1_;
for(int var6 = 1; var6 < 3; ++var6) {
this.field_82904_b[var6].field_78796_g = (var5.func_82207_a(var6 - 1) - p_78086_1_.field_70761_aq) / 57.295776F;
this.field_82904_b[var6].field_78795_f = var5.func_82210_r(var6 - 1) / 57.295776F;
}
}
示例5: setLivingAnimations
import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
/**
* Used for easily adding entity-dependent animations. The second and third float params here are the same second
* and third as in the setRotationAngles method.
*/
public void setLivingAnimations(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4)
{
EntityWither entitywither = (EntityWither)par1EntityLivingBase;
for (int i = 1; i < 3; ++i)
{
this.field_82904_b[i].rotateAngleY = (entitywither.func_82207_a(i - 1) - par1EntityLivingBase.renderYawOffset) / (180F / (float)Math.PI);
this.field_82904_b[i].rotateAngleX = entitywither.func_82210_r(i - 1) / (180F / (float)Math.PI);
}
}