summaryrefslogtreecommitdiff
path: root/ihl/processing/metallurgy/AchesonFurnanceTileEntity.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
commit2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch)
treee8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/processing/metallurgy/AchesonFurnanceTileEntity.java
parentffe23313fb7421b0a1849b420baf708999023f7b (diff)
License, readme and stuff
Diffstat (limited to 'ihl/processing/metallurgy/AchesonFurnanceTileEntity.java')
-rw-r--r--ihl/processing/metallurgy/AchesonFurnanceTileEntity.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/ihl/processing/metallurgy/AchesonFurnanceTileEntity.java b/ihl/processing/metallurgy/AchesonFurnanceTileEntity.java
index 5d228fc..0c1b75f 100644
--- a/ihl/processing/metallurgy/AchesonFurnanceTileEntity.java
+++ b/ihl/processing/metallurgy/AchesonFurnanceTileEntity.java
@@ -1,6 +1,5 @@
package ihl.processing.metallurgy;
-import java.util.Arrays;
import java.util.List;
import java.util.Map;
@@ -35,7 +34,7 @@ public class AchesonFurnanceTileEntity extends MachineBaseTileEntity{
public static void addRecipe(IRecipeInput input1, IRecipeInput input2, String output1)
{
- recipeManager.addRecipe(new UniversalRecipeInput(null,Arrays.asList(new IRecipeInput [] {input1,input2})),new UniversalRecipeOutput(null,Arrays.asList(new ItemStack [] {IHLUtils.getThisModItemStack(output1)}),20));
+ recipeManager.addRecipe(new UniversalRecipeInput(null,new IRecipeInput [] {input1,input2}),new UniversalRecipeOutput(null,new ItemStack [] {IHLUtils.getThisModItemStack(output1)},20));
}
@Override
@@ -46,13 +45,11 @@ public class AchesonFurnanceTileEntity extends MachineBaseTileEntity{
@Override
public String getLoopSoundFile() {
- // TODO Auto-generated method stub
return null;
}
@Override
public String getStopSoundFile() {
- // TODO Auto-generated method stub
return null;
}
@@ -104,7 +101,7 @@ public class AchesonFurnanceTileEntity extends MachineBaseTileEntity{
ItemStack crucible = input.getItemStack(IHLMod.crucible);
if(crucible!=null)
{
- ItemStack stack = ((Crucible)crucible.getItem()).processContent(crucible, this);
+ ((Crucible)crucible.getItem()).processContent(crucible, this);
}
}
@@ -117,7 +114,7 @@ public class AchesonFurnanceTileEntity extends MachineBaseTileEntity{
}
@Override
- public List[] getInput()
+ public List<?>[] getInput()
{
return new List[] {null, this.input.getItemStackList()};
}