Package appeng.container.implementations

Examples of appeng.container.implementations.ContainerStorageBus


  GuiTabButton priority;
  GuiImgButton partition;
  GuiImgButton clear;

  public GuiStorageBus(InventoryPlayer inventoryPlayer, PartStorageBus te) {
    super( new ContainerStorageBus( inventoryPlayer, te ) );
    this.ySize = 251;
  }
View Full Code Here


        cpt.clear();
      }
    }
    else if ( Name.startsWith( "StorageBus." ) && c instanceof ContainerStorageBus )
    {
      ContainerStorageBus ccw = (ContainerStorageBus) c;
      if ( Name.equals( "StorageBus.Action" ) )
      {
        if ( Value.equals( "Partition" ) )
        {
          ccw.partition();
        }
        else if ( Value.equals( "Clear" ) )
        {
          ccw.clear();
        }
      }
    }
    else if ( Name.startsWith( "CellWorkbench." ) && c instanceof ContainerCellWorkbench )
    {
      ContainerCellWorkbench ccw = (ContainerCellWorkbench) c;
      if ( Name.equals( "CellWorkbench.Action" ) )
      {
        if ( Value.equals( "CopyMode" ) )
        {
          ccw.nextCopyMode();
        }
        else if ( Value.equals( "Partition" ) )
        {
          ccw.partition();
        }
        else if ( Value.equals( "Clear" ) )
        {
          ccw.clear();
        }
      }
      else if ( Name.equals( "CellWorkbench.Fuzzy" ) )
      {
        ccw.setFuzzy( FuzzyMode.valueOf( Value ) );
      }
    }
    else if ( c instanceof ContainerNetworkTool )
    {
      if ( Name.equals( "NetworkTool" ) && Value.equals( "Toggle" ) )
View Full Code Here

TOP

Related Classes of appeng.container.implementations.ContainerStorageBus

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.