This commit is contained in:
Modmuss50 2015-10-05 11:18:44 +01:00
parent b0c77d4d22
commit 04a21f4dc7
12 changed files with 23 additions and 11 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@ TechReborn.iws
TechReborn.ipr TechReborn.ipr
Thumbs.db Thumbs.db
changelog.txt changelog.txt
*.log

View file

@ -14,6 +14,7 @@ import techreborn.lib.Reference;
import techreborn.util.CraftingHelper; import techreborn.util.CraftingHelper;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
@ -85,7 +86,7 @@ public class MTAlloySmelter {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<AlloySmelterRecipe> removedRecipes; List<AlloySmelterRecipe> removedRecipes = new ArrayList<AlloySmelterRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.AssemblingMachineRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.assemblingMachine") @ZenClass("mods.techreborn.assemblingMachine")
@ -79,7 +80,7 @@ public class MTAssemblingMachine {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<AssemblingMachineRecipe> removedRecipes; List<AssemblingMachineRecipe> removedRecipes = new ArrayList<AssemblingMachineRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.BlastFurnaceRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.blastFurnace") @ZenClass("mods.techreborn.blastFurnace")
@ -78,7 +79,7 @@ public class MTBlastFurnace {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<BlastFurnaceRecipe> removedRecipes; List<BlastFurnaceRecipe> removedRecipes = new ArrayList<BlastFurnaceRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.CentrifugeRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.centrifuge") @ZenClass("mods.techreborn.centrifuge")
@ -78,7 +79,7 @@ public class MTCentrifuge {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<CentrifugeRecipe> removedRecipes; List<CentrifugeRecipe> removedRecipes = new ArrayList<CentrifugeRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.ChemicalReactorRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.chemicalReactorRecipe") @ZenClass("mods.techreborn.chemicalReactorRecipe")
@ -78,7 +79,7 @@ public class MTChemicalReactor{
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<ChemicalReactorRecipe> removedRecipes; List<ChemicalReactorRecipe> removedRecipes = new ArrayList<ChemicalReactorRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -15,6 +15,7 @@ import techreborn.api.recipe.machines.GrinderRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.grinder") @ZenClass("mods.techreborn.grinder")
@ -90,7 +91,7 @@ public class MTGrinder {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<GrinderRecipe> removedRecipes; List<GrinderRecipe> removedRecipes = new ArrayList<GrinderRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.ImplosionCompressorRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.implosionCompressor") @ZenClass("mods.techreborn.implosionCompressor")
@ -78,7 +79,7 @@ public class MTImplosionCompressor {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<ImplosionCompressorRecipe> removedRecipes; List<ImplosionCompressorRecipe> removedRecipes = new ArrayList<ImplosionCompressorRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.IndustrialElectrolyzerRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.industrialElectrolyzer") @ZenClass("mods.techreborn.industrialElectrolyzer")
@ -78,7 +79,7 @@ public class MTIndustrialElectrolyzer {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<IndustrialElectrolyzerRecipe> removedRecipes; List<IndustrialElectrolyzerRecipe> removedRecipes = new ArrayList<IndustrialElectrolyzerRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -15,6 +15,7 @@ import techreborn.api.recipe.machines.IndustrialSawmillRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.industrialSawmill") @ZenClass("mods.techreborn.industrialSawmill")
@ -101,7 +102,7 @@ public class MTIndustrialSawmill {
private static class Remove implements IUndoableAction private static class Remove implements IUndoableAction
{ {
private final ItemStack output; private final ItemStack output;
List<IndustrialSawmillRecipe> removedRecipes; List<IndustrialSawmillRecipe> removedRecipes = new ArrayList<IndustrialSawmillRecipe>();
public Remove(ItemStack output) public Remove(ItemStack output)
{ {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.LatheRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.lathe") @ZenClass("mods.techreborn.lathe")
@ -74,7 +75,7 @@ public class MTLathe {
private static class Remove implements IUndoableAction { private static class Remove implements IUndoableAction {
private final ItemStack output; private final ItemStack output;
List<LatheRecipe> removedRecipes; List<LatheRecipe> removedRecipes = new ArrayList<LatheRecipe>();
public Remove(ItemStack output) { public Remove(ItemStack output) {
this.output = output; this.output = output;

View file

@ -13,6 +13,7 @@ import techreborn.api.recipe.machines.PlateCuttingMachineRecipe;
import techreborn.lib.Reference; import techreborn.lib.Reference;
import techreborn.util.ItemUtils; import techreborn.util.ItemUtils;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@ZenClass("mods.techreborn.plateCuttingMachine") @ZenClass("mods.techreborn.plateCuttingMachine")
@ -74,7 +75,7 @@ public class MTPlateCuttingMachine {
private static class Remove implements IUndoableAction { private static class Remove implements IUndoableAction {
private final ItemStack output; private final ItemStack output;
List<PlateCuttingMachineRecipe> removedRecipes; List<PlateCuttingMachineRecipe> removedRecipes = new ArrayList<PlateCuttingMachineRecipe>();
public Remove(ItemStack output) { public Remove(ItemStack output) {
this.output = output; this.output = output;