Some more crafting work.

This commit is contained in:
AlgorithmX2
2014-06-04 22:54:01 -05:00
parent 141be04aaf
commit ea52fb5ebc
3 changed files with 72 additions and 5 deletions
+11 -3
View File
@@ -1,15 +1,16 @@
package appeng.crafting;
import net.minecraft.world.World;
import appeng.me.cache.CraftingCache;
import appeng.api.networking.IGrid;
import appeng.api.networking.security.BaseActionSource;
public interface ICraftingHost
{
/**
* Get Crasfting cache for the host.
* Get Crafting cache for the host.
*/
CraftingCache getCraftingCache();
IGrid getGrid();
/**
* required for crafting calculations.
@@ -18,4 +19,11 @@ public interface ICraftingHost
*/
World getWorld();
/**
* get source of moving items around.
*
* @return {@link BaseActionSource} of host.
*/
BaseActionSource getActionSrc();
}