about 5 minutes of work...

This commit is contained in:
AlgorithmX2
2014-06-04 19:47:13 -05:00
parent faad4a6ba2
commit 141be04aaf
2 changed files with 22 additions and 0 deletions
+11
View File
@@ -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<IAEItemStack, CraftingTask> 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<CraftingTask> getBottom()
{
return bottom.values();
+11
View File
@@ -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();
}