Examples of MachineCommandActivateMessage


Examples of erogenousbeef.bigreactors.net.message.MachineCommandActivateMessage

  @Override
  protected void actionPerformed(GuiButton button) {
    if(button.id == 0 || button.id == 1) {
      boolean newSetting = button.id == 0;
      if(newSetting != reactor.getActive()) {
                CommonPacketHandler.INSTANCE.sendToServer(new MachineCommandActivateMessage(reactor, newSetting));
      }
    }
    else if(button.id >= 2 && button.id <= 4) {
      WasteEjectionSetting newEjectionSetting;
      switch(button.id) {
View Full Code Here

Examples of erogenousbeef.bigreactors.net.message.MachineCommandActivateMessage

  @Override
  protected void actionPerformed(GuiButton button) {
    if(button.id == 0 || button.id == 1) {
      boolean setActive = button.id == 0;
      if(setActive != turbine.getActive()) {
                CommonPacketHandler.INSTANCE.sendToServer(new MachineCommandActivateMessage(turbine, setActive));
            }
    }
   
    if(button.id == 2 || button.id == 3) {
      int exponent = 0;
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.