Posted February 26, 201411 yr I have class, which extend GuiScreen, i'm trying override mouseClicked, but nothing happens @Override protected void mouseClicked(int i, int j, int k) { System.out.println("Clicked!"); if ((k != 0) || (this.hover < 0)) return; if (this.multipleSelection) { if (this.selectedList.contains(this.list.get(this.hover))) this.selectedList.remove(this.list.get(this.hover)); else this.selectedList.add(this.list.get(this.hover)); } else { if (this.hover >= 0) this.selected = this.hover; this.hover = -1; } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.