Files
EnderIO/common/appeng/api/me/tiles/ITilePushable.java
T
2014-02-13 14:01:40 +08:00

31 lines
537 B
Java

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);
}