Interface IEnergyStorageCapacity
- All Superinterfaces:
net.neoforged.neoforge.transfer.energy.EnergyHandler
- All Known Implementing Classes:
EnergyStorageItemBlockEnergyContainer,SimpleEnergyHandlerCapacity
public interface IEnergyStorageCapacity
extends net.neoforged.neoforge.transfer.energy.EnergyHandler
An energy storage with a mutable capacity.
-
Method Summary
Methods inherited from interface net.neoforged.neoforge.transfer.energy.EnergyHandler
extract, getAmountAsInt, getAmountAsLong, getCapacityAsInt, getCapacityAsLong, insert
-
Method Details
-
setCapacity
void setCapacity(int capacity)
-