本文整理汇总了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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}