@Override protected void mouseClicked(int x, int y, int b) { super.mouseClicked(x, y, b); byte cmd = -1; if (this.func_146978_c(61, 19, 18, 10, x, y)) { cmd = 0; } if (cmd >= 0) { try { ByteArrayOutputStream bos = BlockGuiHandler.getPacketTargetData(0, -1, 0); DataOutputStream dos = new DataOutputStream(bos); dos.writeByte(cmd); BlockGuiHandler.sendPacketToServer(bos); } catch (IOException e) { } } }