Package cofh.api.energy

Examples of cofh.api.energy.EnergyStorage


  private EnergyStorage energyStorage;
 
  public TileEntityPoweredInventory() {
    super();
   
    energyStorage = new EnergyStorage(getMaxEnergyStored());
   
    cycledTicks = -1;
  }
View Full Code Here


  protected EnergyStorage energyStorage;
  private EnergyTransferMode mode = EnergyTransferMode.BOTH;

  public EnergyManager(int maxTransfer, int energyPerWork, int capacity) {
    this.energyPerWork = scaleForDifficulty(energyPerWork);
    energyStorage = new EnergyStorage(scaleForDifficulty(capacity), scaleForDifficulty(maxTransfer), scaleForDifficulty(maxTransfer));
  }
View Full Code Here

  @ModDependentField(modId="ThermalExpansion")
  private EnergyStorage  storage;
 
  public LogisticsRFPowerProviderTileEntity() {
    if(SimpleServiceLocator.thermalExpansionProxy.isTE()) {
      storage  = new EnergyStorage(10000);
    }
  }
View Full Code Here

TOP

Related Classes of cofh.api.energy.EnergyStorage

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.