Package appeng.container.implementations

Examples of appeng.container.implementations.ContainerNetworkStatus


  GuiImgButton units;

  final int rows = 4;

  public GuiNetworkStatus(InventoryPlayer inventoryPlayer, INetworkTool te) {
    super( new ContainerNetworkStatus( inventoryPlayer, te ) );
    this.ySize = 153;
    this.xSize = 195;
    myScrollBar = new GuiScrollbar();
    repo = new ItemRepo( myScrollBar, this );
    repo.rowSize = 5;
View Full Code Here


  }

  @Override
  public void drawFG(int offsetX, int offsetY, int mouseX, int mouseY)
  {
    ContainerNetworkStatus ns = (ContainerNetworkStatus) inventorySlots;

    fontRendererObj.drawString( GuiText.NetworkDetails.getLocal(), 8, 6, 4210752 );

    fontRendererObj.drawString( GuiText.StoredPower.getLocal() + ": " + Platform.formatPowerLong( ns.currentPower, false ), 13, 16, 4210752 );
    fontRendererObj.drawString( GuiText.MaxPower.getLocal() + ": " + Platform.formatPowerLong( ns.maxPower, false ), 13, 26, 4210752 );
View Full Code Here

TOP

Related Classes of appeng.container.implementations.ContainerNetworkStatus

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.