Interface HTEnergyBattery
-
- All Implemented Interfaces:
-
hiiragi283.core.api.HTDataSerializable,hiiragi283.core.api.storage.amount.HTAmountSlot,hiiragi283.core.api.storage.amount.HTAmountView,net.neoforged.neoforge.common.util.INBTSerializable
public interface HTEnergyBattery implements HTAmountSlot, HTDataSerializable
エネルギーを保持するHTAmountSlotの拡張インターフェースです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classHTEnergyBattery.BasicHTEnergyBatteryの基本的な実装クラスです。
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountSlot
extract, insert, isEmpty -
Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView
getAmount, getCapacity, getLevelAsFloat, getLevelAsFraction, getNeeded -
Methods inherited from class hiiragi283.core.api.HTDataSerializable
serializeNBT -
Methods inherited from class net.neoforged.neoforge.common.util.INBTSerializable
deserializeNBT -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-