Class HTMachineEnergyBattery.Processor

  • 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 final class HTMachineEnergyBattery.Processor
    extends HTMachineEnergyBattery<HTProcessorBlockEntity>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getBaseEnergyPerTick()
      final HTProcessorBlockEntity getBlockEntity()
      final Integer getCurrentEnergyPerTick()
      final Unit setCurrentEnergyPerTick(Integer value)
      final Integer consume()
      • 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