protected void func_146119_b(Minecraft p_146119_1_, int p_146119_2_, int p_146119_3_) { if (this.field_146125_m) { if (this.field_146155_p) { this.field_146156_o = (float) (p_146119_2_ - (this.field_146128_h + 4)) / (float) (this.field_146120_f - 8); this.field_146156_o = MathHelper.func_76131_a(this.field_146156_o, 0.0F, 1.0F); p_146119_1_.field_71474_y.func_151439_a(this.field_146153_r, this.field_146156_o); p_146119_1_.field_71474_y.func_74303_b(); this.field_146126_j = this.field_146152_s + ": " + GuiScreenOptionsSounds.this.func_146504_a(this.field_146153_r); } GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F); this.func_73729_b( this.field_146128_h + (int) (this.field_146156_o * (float) (this.field_146120_f - 8)), this.field_146129_i, 0, 66, 4, 20); this.func_73729_b( this.field_146128_h + (int) (this.field_146156_o * (float) (this.field_146120_f - 8)) + 4, this.field_146129_i, 196, 66, 4, 20); } }
public boolean func_146116_c(Minecraft p_146116_1_, int p_146116_2_, int p_146116_3_) { if (super.func_146116_c(p_146116_1_, p_146116_2_, p_146116_3_)) { this.field_146156_o = (float) (p_146116_2_ - (this.field_146128_h + 4)) / (float) (this.field_146120_f - 8); this.field_146156_o = MathHelper.func_76131_a(this.field_146156_o, 0.0F, 1.0F); p_146116_1_.field_71474_y.func_151439_a(this.field_146153_r, this.field_146156_o); p_146116_1_.field_71474_y.func_74303_b(); this.field_146126_j = this.field_146152_s + ": " + GuiScreenOptionsSounds.this.func_146504_a(this.field_146153_r); this.field_146155_p = true; return true; } else { return false; } }