about 5 minutes of work...
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user