Examples of TurbineChangeMaxIntakeMessage


Examples of erogenousbeef.bigreactors.net.message.multiblock.TurbineChangeMaxIntakeMessage

      if(button.id == 3) { newMax *= -1; }
     
      newMax = Math.max(0, Math.min(turbine.getMaxIntakeRateMax(), turbine.getMaxIntakeRate() + newMax));

      if(newMax != turbine.getMaxIntakeRate()) {
                CommonPacketHandler.INSTANCE.sendToServer(new TurbineChangeMaxIntakeMessage(turbine, newMax));
      }
    }
   
    if(button.id >= 4 && button.id <= 6) {
      VentStatus newStatus;
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.