2013-08-26 19:36:24 +02:00
|
|
|
package ic2.api.item;
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2013-10-12 12:12:59 +02:00
|
|
|
|
|
|
|
public interface IBoxable {
|
2013-08-26 19:36:24 +02:00
|
|
|
/**
|
|
|
|
* Determine whether an item can be stored in a toolbox or not.
|
|
|
|
*
|
|
|
|
* @param itemstack item to be stored
|
|
|
|
* @return Whether to store the item in the toolbox or not
|
|
|
|
*/
|
|
|
|
public abstract boolean canBeStoredInToolbox(ItemStack itemstack);
|
|
|
|
}
|