2012-12-17 21:21:53 +01:00
|
|
|
package com.pahimar.ee3.item;
|
2012-10-29 04:16:32 +01:00
|
|
|
|
2012-12-13 16:01:41 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
2012-10-29 04:16:32 +01:00
|
|
|
|
|
|
|
public interface IChargeable {
|
2012-11-26 03:11:12 +01:00
|
|
|
|
|
|
|
public abstract short getCharge(ItemStack stack);
|
2012-11-30 21:45:32 +01:00
|
|
|
|
2012-11-26 03:11:12 +01:00
|
|
|
public abstract void setCharge(ItemStack stack, short charge);
|
|
|
|
|
|
|
|
public abstract void increaseCharge(ItemStack stack);
|
|
|
|
|
|
|
|
public abstract void decreaseCharge(ItemStack stack);
|
2012-10-29 04:16:32 +01:00
|
|
|
|
|
|
|
}
|