Package appeng.container.implementations

Examples of appeng.container.implementations.ContainerCellWorkbench


  GuiImgButton clear;
  GuiImgButton partition;
  GuiToggleButton copyMode;

  public GuiCellWorkbench(InventoryPlayer inventoryPlayer, TileCellWorkbench te) {
    super( new ContainerCellWorkbench( inventoryPlayer, te ) );
    workbench = (ContainerCellWorkbench) inventorySlots;
    ySize = 251;
    tcw = te;
  }
View Full Code Here


        }
      }
    }
    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.ContainerCellWorkbench

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.