Interface IEnergyStorageMutable

All Superinterfaces:
net.neoforged.neoforge.transfer.energy.EnergyHandler
All Known Implementing Classes:
EnergyStorageItemBlockEnergyContainer

public interface IEnergyStorageMutable extends net.neoforged.neoforge.transfer.energy.EnergyHandler
An energy storage with a mutable energy level.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEnergy(int energy)
     

    Methods inherited from interface net.neoforged.neoforge.transfer.energy.EnergyHandler

    extract, getAmountAsInt, getAmountAsLong, getCapacityAsInt, getCapacityAsLong, insert
  • Method Details

    • setEnergy

      void setEnergy(int energy)