Applied-Energistics-2-tiler.../crafting/ICraftingHost.java

30 lines
506 B
Java
Raw Normal View History

package appeng.crafting;
import net.minecraft.world.World;
2014-06-05 05:54:01 +02:00
import appeng.api.networking.IGrid;
import appeng.api.networking.security.BaseActionSource;
public interface ICraftingHost
{
2014-06-05 02:47:13 +02:00
/**
2014-06-05 05:54:01 +02:00
* Get Crafting cache for the host.
2014-06-05 02:47:13 +02:00
*/
2014-06-05 05:54:01 +02:00
IGrid getGrid();
2014-06-05 02:47:13 +02:00
/**
* required for crafting calculations.
*
* @return world the host is located in
*/
World getWorld();
2014-06-05 05:54:01 +02:00
/**
* get source of moving items around.
*
* @return {@link BaseActionSource} of host.
*/
BaseActionSource getActionSrc();
}