public int func_149720_d( IBlockAccess p_149720_1_, int p_149720_2_, int p_149720_3_, int p_149720_4_) { int var5 = 0; int var6 = 0; int var7 = 0; for (int var8 = -1; var8 <= 1; ++var8) { for (int var9 = -1; var9 <= 1; ++var9) { int var10 = p_149720_1_ .func_72807_a(p_149720_2_ + var9, p_149720_4_ + var8) .func_150571_c(p_149720_2_ + var9, p_149720_3_, p_149720_4_ + var8); var5 += (var10 & 16711680) >> 16; var6 += (var10 & '\uff00') >> 8; var7 += var10 & 255; } } return (var5 / 9 & 255) << 16 | (var6 / 9 & 255) << 8 | var7 / 9 & 255; }
@SideOnly(Side.CLIENT) public int func_71920_b(IBlockAccess p_71920_1_, int p_71920_2_, int p_71920_3_, int p_71920_4_) { if (this.field_72018_cp != Material.field_76244_g) { return 16777215; } else { int var5 = 0; int var6 = 0; int var7 = 0; for (int var8 = -1; var8 <= 1; ++var8) { for (int var9 = -1; var9 <= 1; ++var9) { int var10 = p_71920_1_.func_72807_a(p_71920_2_ + var9, p_71920_4_ + var8).field_76759_H; var5 += (var10 & 16711680) >> 16; var6 += (var10 & '\uff00') >> 8; var7 += var10 & 255; } } return (var5 / 9 & 255) << 16 | (var6 / 9 & 255) << 8 | var7 / 9 & 255; } }
public int func_149720_d( IBlockAccess p_149720_1_, int p_149720_2_, int p_149720_3_, int p_149720_4_) { return p_149720_1_ .func_72807_a(p_149720_2_, p_149720_4_) .func_150558_b(p_149720_2_, p_149720_3_, p_149720_4_); }