Package buildcraft.core

Examples of buildcraft.core.RFBattery.useEnergy()


    /**
     * After 100 cycles with no consumption or additional power, start to
     * slowly to decrease the amount of power available in the builder.
     */
    if (rfUnchangedCycles > 100) {
      battery.useEnergy(0, 1000, false);

      rfPrev = battery.getEnergyStored();
    }
  }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.