266267268269270271272
} } @Override protected void actionPerformed(GuiButton button){ NetworkHandler.sendToServer(new PacketGuiButton(te, button.id)); }
343344345346347348349
stat.closeWindow(); } } } } NetworkHandler.sendToServer(new PacketGuiButton(te, widget.getID())); }
83848586878889
* Fired when a control is clicked. This is the equivalent of * ActionListener.actionPerformed(ActionEvent e). */ @Override protected void actionPerformed(GuiButton button){ NetworkHandler.sendToServer(new PacketGuiButton(te, button.id)); }
36373839404142
buttonList.add(new GuiButton(3, x + 60, y, 30, 20, "+1")); } @Override protected void actionPerformed(GuiButton button){ NetworkHandler.sendToServer(new PacketGuiButton(te, button.id)); }
398399400401402403404
if(++widgetPage > maxPage) widgetPage = 0; updateVisibleProgWidgets(); return; } NetworkHandler.sendToServer(new PacketGuiButton(te, button.id)); }