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
|
|
|
|
2013-03-08 19:40:59 +01:00
|
|
|
/**
|
|
|
|
* Equivalent-Exchange-3
|
|
|
|
*
|
|
|
|
* IChargeable
|
|
|
|
*
|
|
|
|
* @author pahimar
|
|
|
|
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
|
|
|
|
*
|
|
|
|
*/
|
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
|
|
|
|
|
|
|
}
|