Package erogenousbeef.bigreactors.net.message

Examples of erogenousbeef.bigreactors.net.message.ReactorRedstonePortChangeMessage


    if(clickedButton.id == 0) {
      CircuitType newCircuitType = getUserSelectedCircuitType();
      int actualOutputLevel = this.outputLevel;
      if(newCircuitType == CircuitType.inputSetControlRod && this.greaterThan && this.retract) { actualOutputLevel *= -1; }

            CommonPacketHandler.INSTANCE.sendToServer(new ReactorRedstonePortChangeMessage(port, newCircuitType.ordinal(), actualOutputLevel, this.greaterThan, this.activeOnPulse));
        }
    else if(clickedButton.id == 1) {
      for(Entry<CircuitType, GuiSelectableButton> pair : btnMap.entrySet()) {
        pair.getValue().setSelected(pair.getKey() == port.getCircuitType());
      }
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.net.message.ReactorRedstonePortChangeMessage

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.