Interface IEnergyStorageMutable

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

public interface IEnergyStorageMutable extends net.neoforged.neoforge.energy.IEnergyStorage
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.energy.IEnergyStorage

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

    • setEnergy

      void setEnergy(int energy)