當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。