Class HTMachineEnergyBattery

  • All Implemented Interfaces:
    hiiragi283.core.api.HTContentListener , hiiragi283.core.api.serialization.value.HTValueSerializable , hiiragi283.core.api.storage.amount.HTAmountSlot , hiiragi283.core.api.storage.amount.HTAmountView , hiiragi283.core.api.storage.energy.HTEnergyBattery , java.lang.Runnable , net.neoforged.neoforge.common.util.INBTSerializable

    
    public class HTMachineEnergyBattery<BE extends HTMachineBlockEntity>
    extends HTBasicEnergyBattery
                        
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getBaseEnergyPerTick()
      final BE getBlockEntity()
      final Integer getCurrentEnergyPerTick()
      final Unit setCurrentEnergyPerTick(Integer value)
      final static HTMachineEnergyBattery.Processor input(HTContentListener listener, HTProcessorBlockEntity.Energized blockEntity)
      • Methods inherited from class hiiragi283.core.common.storage.energy.HTBasicEnergyBattery

        deserialize, getAmount, getCapacity, onContentsChanged, serialize, setAmount, setAmountUnchecked
      • Methods inherited from class hiiragi283.core.api.storage.energy.HTEnergyBattery.Basic

        toString
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountSlot.Basic

        extract, insert
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView

        getLevelAsFloat, getLevelAsFraction, getNeeded, isEmpty
      • Methods inherited from class hiiragi283.core.api.HTContentListener

        run
      • Methods inherited from class hiiragi283.core.api.serialization.value.HTValueSerializable

        deserializeNBT, serializeNBT
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait