Package appeng.core.sync.packets

Examples of appeng.core.sync.packets.PacketConfigButton


    super.actionPerformed( btn );

    boolean backwards = Mouse.isButtonDown( 1 );

    if ( btn == fullMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( fullMode.getSetting(), backwards ) );

    if ( btn == operationMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( operationMode.getSetting(), backwards ) );
  }
View Full Code Here


    {
      NetworkHandler.instance.sendToServer( new PacketSwitchGuis( GuiBridge.GUI_PRIORITY ) );
    }

    if ( btn == interfaceMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( Settings.INTERFACE_TERMINAL, backwards ) );

    if ( btn == BlockMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( BlockMode.getSetting(), backwards ) );
  }
View Full Code Here

      else if ( btn == priority )
        NetworkHandler.instance.sendToServer( new PacketSwitchGuis( GuiBridge.GUI_PRIORITY ) );

      else if ( btn == rwMode )
        NetworkHandler.instance.sendToServer( new PacketConfigButton( rwMode.getSetting(), backwards ) );

      else if ( btn == storageFilter )
        NetworkHandler.instance.sendToServer( new PacketConfigButton( storageFilter.getSetting(), backwards ) );

    }
    catch (IOException e)
    {
      AELog.error( e );
View Full Code Here

    super.actionPerformed( btn );

    boolean backwards = Mouse.isButtonDown( 1 );

    if ( btn == craftingMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( craftingMode.getSetting(), backwards ) );

    if ( btn == levelMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( levelMode.getSetting(), backwards ) );

    boolean isPlus = btn == plus1 || btn == plus10 || btn == plus100 || btn == plus1000;
    boolean isMinus = btn == minus1 || btn == minus10 || btn == minus100 || btn == minus1000;

    if ( isPlus || isMinus )
View Full Code Here

    super.actionPerformed( btn );

    boolean backwards = Mouse.isButtonDown( 1 );

    if ( btn == redstoneMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( redstoneMode.getSetting(), backwards ) );

    if ( btn == craftMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( craftMode.getSetting(), backwards ) );

    if ( btn == fuzzyMode )
      NetworkHandler.instance.sendToServer( new PacketConfigButton( fuzzyMode.getSetting(), backwards ) );
  }
View Full Code Here

    boolean backwards = Mouse.isButtonDown( 1 );

    if ( mode == btn )
    {
      NetworkHandler.instance.sendToServer( new PacketConfigButton( Settings.CONDENSER_OUTPUT, backwards ) );
    }
  }
View Full Code Here

TOP

Related Classes of appeng.core.sync.packets.PacketConfigButton

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.