2012-10-29 04:16:32 +01:00
|
|
|
package ee3.common.item;
|
|
|
|
|
|
|
|
import net.minecraft.src.ItemStack;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
}
|