예제 #1
0
 protected void func_77041_b(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);
   }
 }
예제 #2
0
 protected ResourceLocation func_110775_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;
 }