Mekanism-tilera-Edition/src/main/java/mekanism/common/IEnergyCube.java
2014-04-20 03:44:06 +01:00

26 lines
613 B
Java

package mekanism.common;
import mekanism.common.Tier.EnergyCubeTier;
import net.minecraft.item.ItemStack;
/**
* Internal interface used when dealing with Energy Cubes and their tiers.
* @author AidanBrady
*
*/
public interface IEnergyCube
{
/**
* Gets the tier of this energy cube.
* @param itemstack - ItemStack to check
* @return tier
*/
public EnergyCubeTier getEnergyCubeTier(ItemStack itemstack);
/**
* Sets the tier of this energy cube
* @param itemstack - ItemStack to set
* @param tier - tier to set
*/
public void setEnergyCubeTier(ItemStack itemstack, EnergyCubeTier tier);
}