Package erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityReactorRedNetPort

Examples of erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityReactorRedNetPort.CircuitType.ordinal()


    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
Copyright © 2018 www.massapi.com. 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.