Interface HTEnergyBattery

  • 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 , java.lang.Runnable , net.neoforged.neoforge.common.util.INBTSerializable

    
    public interface HTEnergyBattery
     implements HTAmountSlot, HTContentListener, HTValueSerializable
                        

    エネルギーを保持するHTAmountSlotの拡張インターフェースです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountSlot

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

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

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

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail