Merge remote-tracking branch 'upstream/rv2' into rv2

Conflicts:
	src/main/java/appeng/items/tools/powered/ToolMassCannon.java
This commit is contained in:
Andrew
2014-09-29 00:26:15 -07:00
113 changed files with 410 additions and 238 deletions
@@ -52,7 +52,7 @@ public class CraftingJob implements Runnable, ICraftingJob
{
world = wrapWorld( w );
storage = AEApi.instance().storage().createItemList();
prophecies = new HashSet();
prophecies = new HashSet<IAEItemStack>();
original = null;
availableCheck = null;
}
@@ -72,7 +72,7 @@ public class CraftingJob implements Runnable, ICraftingJob
world = wrapWorld( w );
output = what.copy();
storage = AEApi.instance().storage().createItemList();
prophecies = new HashSet();
prophecies = new HashSet<IAEItemStack>();
this.actionSrc = actionSrc;
this.callback = callback;
@@ -131,7 +131,7 @@ public class CraftingJob implements Runnable, ICraftingJob
public long times = 0;
}
HashMap<String, twoIntegers> opsAndMultiplier = new HashMap();
HashMap<String, twoIntegers> opsAndMultiplier = new HashMap<String, twoIntegers>();
@Override
public void run()
@@ -30,7 +30,7 @@ public class CraftingTreeNode
private IAEItemStack what;
// what are the crafting patterns for this?
private ArrayList<CraftingTreeProcess> nodes = new ArrayList();
private ArrayList<CraftingTreeProcess> nodes = new ArrayList<CraftingTreeProcess>();
boolean canEmit = false;
boolean cannotUse = false;
@@ -95,7 +95,7 @@ public class CraftingTreeNode
{
job.handlePausing();
List<IAEItemStack> thingsUsed = new LinkedList();
List<IAEItemStack> thingsUsed = new LinkedList<IAEItemStack>();
what.setStackSize( l );
if ( slot >= 0 && parent != null && parent.details.isCraftable() )
@@ -36,7 +36,7 @@ public class CraftingTreeProcess
private long bytes = 0;
final private int depth;
Map<CraftingTreeNode, Long> nodes = new HashMap();
Map<CraftingTreeNode, Long> nodes = new HashMap<CraftingTreeNode, Long>();
public boolean possible = true;
public CraftingTreeProcess(ICraftingGrid cc, CraftingJob job, ICraftingPatternDetails details, CraftingTreeNode craftingTreeNode, int depth, World world) {
@@ -49,17 +49,17 @@ public class CraftingWatcher implements ICraftingWatcher
}
CraftingGridCache gsc;
ICraftingWatcherHost myObject;
HashSet<IAEStack> myInterests = new HashSet();
ICraftingWatcherHost host;
HashSet<IAEStack> myInterests = new HashSet<IAEStack>();
public CraftingWatcher(CraftingGridCache cache, ICraftingWatcherHost host) {
gsc = cache;
myObject = host;
this.host = host;
}
public ICraftingWatcherHost getHost()
{
return myObject;
return host;
}
@Override