public void func_238_a(IBlockAccess p_238_1_, int p_238_2_, int p_238_3_, int p_238_4_) { int var5 = p_238_1_.func_602_e(p_238_2_, p_238_3_, p_238_4_) & 7; float var6 = 0.1875F; if (var5 == 1) { this.func_213_a(0.0F, 0.2F, 0.5F - var6, var6 * 2.0F, 0.8F, 0.5F + var6); } else if (var5 == 2) { this.func_213_a(1.0F - var6 * 2.0F, 0.2F, 0.5F - var6, 1.0F, 0.8F, 0.5F + var6); } else if (var5 == 3) { this.func_213_a(0.5F - var6, 0.2F, 0.0F, 0.5F + var6, 0.8F, var6 * 2.0F); } else if (var5 == 4) { this.func_213_a(0.5F - var6, 0.2F, 1.0F - var6 * 2.0F, 0.5F + var6, 0.8F, 1.0F); } else { var6 = 0.25F; this.func_213_a(0.5F - var6, 0.0F, 0.5F - var6, 0.5F + var6, 0.6F, 0.5F + var6); } }
public boolean func_231_b( IBlockAccess p_231_1_, int p_231_2_, int p_231_3_, int p_231_4_, int p_231_5_) { return (p_231_1_.func_602_e(p_231_2_, p_231_3_, p_231_4_) & 8) > 0; }