Interface IEnergyStorageCapacity

All Superinterfaces:
net.neoforged.neoforge.energy.IEnergyStorage
All Known Implementing Classes:
BlockEntityEnergyBattery, EnergyStorageItemBlockEnergyContainer

public interface IEnergyStorageCapacity extends net.neoforged.neoforge.energy.IEnergyStorage
An energy storage with a mutable capacity.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setCapacity(int capacity)
     

    Methods inherited from interface net.neoforged.neoforge.energy.IEnergyStorage

    canExtract, canReceive, extractEnergy, getEnergyStored, getMaxEnergyStored, receiveEnergy
  • Method Details

    • setCapacity

      void setCapacity(int capacity)