diff --git a/crafting/CraftingJob.java b/crafting/CraftingJob.java index 8b93338ca..b485ff0f7 100644 --- a/crafting/CraftingJob.java +++ b/crafting/CraftingJob.java @@ -6,6 +6,7 @@ import java.util.HashSet; import java.util.Iterator; import net.minecraft.nbt.NBTTagCompound; +import appeng.api.config.Actionable; import appeng.api.storage.data.IAEItemStack; import appeng.api.storage.data.IItemList; @@ -23,6 +24,16 @@ public class CraftingJob implements ICraftingParent Multimap bottom; CraftingTask top; + ICraftingHost jobHost; + + public CraftingJob(ICraftingHost host, NBTTagCompound data) { + // TODO Auto-generated constructor stub + } + + public CraftingJob(ICraftingHost host, IAEItemStack what, Actionable mode) { + + } + public Collection getBottom() { return bottom.values(); diff --git a/crafting/ICraftingHost.java b/crafting/ICraftingHost.java index ea5026219..6464c6d6a 100644 --- a/crafting/ICraftingHost.java +++ b/crafting/ICraftingHost.java @@ -1,10 +1,21 @@ package appeng.crafting; import net.minecraft.world.World; +import appeng.me.cache.CraftingCache; public interface ICraftingHost { + /** + * Get Crasfting cache for the host. + */ + CraftingCache getCraftingCache(); + + /** + * required for crafting calculations. + * + * @return world the host is located in + */ World getWorld(); }