Object HTInfiniteEnergyBattery

  • All Implemented Interfaces:
    hiiragi283.core.api.HTContentListener , hiiragi283.core.api.HTContentListener.Empty , hiiragi283.core.api.serialization.value.HTValueSerializable , hiiragi283.core.api.serialization.value.HTValueSerializable.Empty , 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 HTInfiniteEnergyBattery
     implements HTEnergyBattery, HTContentListener.Empty, HTValueSerializable.Empty
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer insert(Integer amount, HTStorageAction action, HTStorageAccess access)
      Integer extract(Integer amount, HTStorageAction action, HTStorageAccess access)
      Integer getAmount()
      Integer getCapacity()
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView

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

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

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

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