Some more crafting work.
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user