Package crazypants.enderio.machine.transceiver

Examples of crazypants.enderio.machine.transceiver.PacketAddRemoveChannel


  private void deleteChannelPressed() {
    Channel c = channelList.getSelectedElement();
    if(c != null) {       
      ClientChannelRegister.instance.removeChannel(c);
      PacketHandler.INSTANCE.sendToServer(new PacketAddRemoveChannel(c, false));   
    }
  }
View Full Code Here


      c = new Channel(newChannelTF.getText(), Minecraft.getMinecraft().thePlayer.getGameProfile().getName(), type);
    } else {
      c = new Channel(newChannelTF.getText(), null, type);
    }
    ClientChannelRegister.instance.addChannel(c);
    PacketHandler.INSTANCE.sendToServer(new PacketAddRemoveChannel(c, true));          
    channelList.setSelection(c);
    newChannelTF.setText("");
  }
View Full Code Here

TOP

Related Classes of crazypants.enderio.machine.transceiver.PacketAddRemoveChannel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.