/** Called when the mouse is clicked. */
  protected void mouseClicked(int par1, int par2, int par3) {
    super.mouseClicked(par1, par2, par3);

    if (this.field_92025_p.length() > 0
        && par1 >= this.field_92022_t
        && par1 <= this.field_92020_v
        && par2 >= this.field_92021_u
        && par2 <= this.field_92019_w) {
      GuiConfirmOpenLink var4 = new GuiConfirmOpenLink(this, "http://tinyurl.com/javappc", 13);
      var4.func_92026_h();
      this.mc.displayGuiScreen(var4);
    }
  }
Пример #2
0
  /** Called when the mouse is clicked. */
  protected void mouseClicked(int par1, int par2, int par3) {
    super.mouseClicked(par1, par2, par3);

    synchronized (field_104025_t) {
      if (field_92025_p.length() > 0
          && par1 >= field_92022_t
          && par1 <= field_92020_v
          && par2 >= field_92021_u
          && par2 <= field_92019_w) {
        GuiConfirmOpenLink guiconfirmopenlink =
            new GuiConfirmOpenLink(this, field_104024_v, 13, true);
        guiconfirmopenlink.func_92026_h();
        mc.displayGuiScreen(guiconfirmopenlink);
      }
    }
  }