blob: 8d98b6f4c9d527724e43c1eb7979c10e8f920700 [file] [log] [blame] [raw]
package appeng.api.me.tiles;
import net.minecraft.item.ItemStack;
/**
* An IPushable should return what dosn't fit, so that the crafting request cannot complete,
* stalling the action and saving your resources.
*/
public interface ITilePushable
{
/**
* is this pushable busy?
* @return
*/
boolean isBusy();
/**
* Attempt to send an item.
* @param out
* @return
*/
ItemStack pushItem( ItemStack out );
/**
* Test if a push is possible.
* @param out
* @return
*/
boolean canPushItem(ItemStack out);
}