2013-05-07 22:12:07 +02:00
|
|
|
package ic2.api.item;
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2013-08-22 17:36:31 +02:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
public interface IBoxable {
|
|
|
|
/**
|
|
|
|
* 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);
|
|
|
|
}
|