当前位置: 首页>>代码示例>>Java>>正文


Java EntityWither.func_82207_a方法代码示例

本文整理汇总了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);
    }
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:15,代码来源:ModelWither.java

示例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);
    }
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:15,代码来源:ModelWither.java

示例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);
    }
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:11,代码来源:ModelWither.java

示例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;
   }

}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:10,代码来源:ModelWither.java

示例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);
    }
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:15,代码来源:ModelWither.java


注:本文中的net.minecraft.entity.boss.EntityWither.func_82207_a方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。