Package appeng.tile.networking

Examples of appeng.tile.networking.TileEnergyCell


      if ( ThingOfInterest instanceof TileEnergyCell )
      {
        if ( nbt != null && nbt.hasKey( "internalCurrentPower" ) )
        {
          TileEnergyCell tec = (TileEnergyCell) ThingOfInterest;
          long power = (long) (100 * nbt.getDouble( "internalCurrentPower" ));
          currentToolTip.add( WailaText.Contains + ": " + Platform.formatPowerLong( power, false ) + " / "
              + Platform.formatPowerLong( (long) (100 * tec.getAEMaxPower()), false ) );
        }
      }
    }
    catch (NullPointerException ex)
    {
View Full Code Here

TOP

Related Classes of appeng.tile.networking.TileEnergyCell

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.