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


Java EntityWither.func_82212_n方法代码示例

本文整理汇总了Java中net.minecraft.entity.boss.EntityWither.func_82212_n方法的典型用法代码示例。如果您正苦于以下问题:Java EntityWither.func_82212_n方法的具体用法?Java EntityWither.func_82212_n怎么用?Java EntityWither.func_82212_n使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在net.minecraft.entity.boss.EntityWither的用法示例。


在下文中一共展示了EntityWither.func_82212_n方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: preRenderCallback

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
/**
 * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args:
 * entityLiving, partialTickTime
 */
protected void preRenderCallback(EntityWither par1EntityWither, float par2)
{
    int var3 = par1EntityWither.func_82212_n();

    if (var3 > 0)
    {
        float var4 = 2.0F - ((float)var3 - par2) / 220.0F * 0.5F;
        GL11.glScalef(var4, var4, var4);
    }
    else
    {
        GL11.glScalef(2.0F, 2.0F, 2.0F);
    }
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:19,代码来源:RenderWither.java

示例2: preRenderCallback

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
protected void preRenderCallback(EntityWither p_77041_1_, float p_77041_2_)
{
    int i = p_77041_1_.func_82212_n();

    if (i > 0)
    {
        float f1 = 2.0F - ((float)i - p_77041_2_) / 220.0F * 0.5F;
        GL11.glScalef(f1, f1, f1);
    }
    else
    {
        GL11.glScalef(2.0F, 2.0F, 2.0F);
    }
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:15,代码来源:RenderWither.java

示例3: func_82415_a

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
protected void func_82415_a(EntityWither p_82415_1_, float p_82415_2_) {
   int var3 = p_82415_1_.func_82212_n();
   if(var3 > 0) {
      float var4 = 2.0F - ((float)var3 - p_82415_2_) / 220.0F * 0.5F;
      GL11.glScalef(var4, var4, var4);
   } else {
      GL11.glScalef(2.0F, 2.0F, 2.0F);
   }

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

示例4: func_82415_a

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
protected void func_82415_a(EntityWither par1EntityWither, float par2)
{
    int i = par1EntityWither.func_82212_n();

    if (i > 0)
    {
        float f1 = 2.0F - ((float)i - par2) / 220.0F * 0.5F;
        GL11.glScalef(f1, f1, f1);
    }
    else
    {
        GL11.glScalef(2.0F, 2.0F, 2.0F);
    }
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:15,代码来源:RenderWither.java

示例5: getEntityTexture

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
/**
 * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
 */
protected ResourceLocation getEntityTexture(EntityWither par1EntityWither)
{
    int var2 = par1EntityWither.func_82212_n();
    return var2 > 0 && (var2 > 80 || var2 / 5 % 2 != 1) ? invulnerableWitherTextures : witherTextures;
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:9,代码来源:RenderWither.java

示例6: getEntityTexture

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
protected ResourceLocation getEntityTexture(EntityWither p_110775_1_)
{
    int i = p_110775_1_.func_82212_n();
    return i > 0 && (i > 80 || i / 5 % 2 != 1) ? invulnerableWitherTextures : witherTextures;
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:6,代码来源:RenderWither.java

示例7: func_110911_a

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
protected ResourceLocation func_110911_a(EntityWither p_110911_1_) {
   int var2 = p_110911_1_.func_82212_n();
   return var2 > 0 && (var2 > 80 || var2 / 5 % 2 != 1)?field_110913_a:field_110912_f;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:5,代码来源:RenderWither.java

示例8: func_110911_a

import net.minecraft.entity.boss.EntityWither; //导入方法依赖的package包/类
protected ResourceLocation func_110911_a(EntityWither par1EntityWither)
{
    int i = par1EntityWither.func_82212_n();
    return i > 0 && (i > 80 || i / 5 % 2 != 1) ? invulnerableWitherTextures : witherTextures;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:6,代码来源:RenderWither.java


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