2014-07-06 08:52:29 +02:00
|
|
|
package appeng.helpers;
|
|
|
|
|
|
|
|
import net.minecraft.inventory.IInventory;
|
2014-09-17 06:26:25 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
2014-07-06 08:52:29 +02:00
|
|
|
import appeng.api.networking.IGridNode;
|
|
|
|
import appeng.api.networking.security.BaseActionSource;
|
|
|
|
|
|
|
|
public interface IContainerCraftingPacket
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return gain access to network infrastructure.
|
|
|
|
*/
|
|
|
|
IGridNode getNetworkNode();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string
|
|
|
|
* @return the inventory of the part/tile by name.
|
|
|
|
*/
|
|
|
|
IInventory getInventoryByName(String string);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return who are we?
|
|
|
|
*/
|
|
|
|
BaseActionSource getSource();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return consume items?
|
|
|
|
*/
|
|
|
|
boolean useRealItems();
|
|
|
|
|
2014-09-17 06:26:25 +02:00
|
|
|
/**
|
|
|
|
* @return array of view cells
|
|
|
|
*/
|
|
|
|
ItemStack[] getViewCells();
|
|
|
|
|
2014-07-06 08:52:29 +02:00
|
|
|
}
|