blob: cbce9c94da09bc94cabad25ba5a92150319d9c66 [file] [log] [blame] [raw]
package universalelectricity.core.item;
import net.minecraft.item.ItemStack;
public interface IItemElectricityStorage
{
/**
* Returns the amount of joules this unit has stored.
*/
public double getJoules(ItemStack itemStack);
/**
* Sets the amount of joules this unit has stored.
*/
public void setJoules(double joules, ItemStack itemStack);
/**
* Gets the maximum amount of joules this unit can store.
*/
public double getMaxJoules(ItemStack itemStack);
}