I don't know what ImmutableList is.

So I'm not using it.
/shrugs
This commit is contained in:
Ellpeck 2016-01-20 20:09:03 +01:00
parent 223db4e04e
commit 037df04965
4 changed files with 10 additions and 12 deletions

View file

@ -10,7 +10,6 @@
package de.ellpeck.actuallyadditions.mod.jei.booklet; package de.ellpeck.actuallyadditions.mod.jei.booklet;
import com.google.common.collect.ImmutableList;
import de.ellpeck.actuallyadditions.api.booklet.BookletPage; import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
import de.ellpeck.actuallyadditions.api.booklet.IBookletChapter; import de.ellpeck.actuallyadditions.api.booklet.IBookletChapter;
import de.ellpeck.actuallyadditions.mod.booklet.page.PagePicture; import de.ellpeck.actuallyadditions.mod.booklet.page.PagePicture;
@ -24,6 +23,7 @@ import net.minecraftforge.fluids.FluidStack;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;
import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
@ -47,12 +47,12 @@ public class BookletRecipeWrapper extends RecipeWrapperWithButton implements IRe
@Override @Override
public List<FluidStack> getFluidInputs(){ public List<FluidStack> getFluidInputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override
public List<FluidStack> getFluidOutputs(){ public List<FluidStack> getFluidOutputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override

View file

@ -10,7 +10,6 @@
package de.ellpeck.actuallyadditions.mod.jei.coffee; package de.ellpeck.actuallyadditions.mod.jei.coffee;
import com.google.common.collect.ImmutableList;
import de.ellpeck.actuallyadditions.api.booklet.BookletPage; import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
import de.ellpeck.actuallyadditions.api.recipe.coffee.CoffeeBrewing; import de.ellpeck.actuallyadditions.api.recipe.coffee.CoffeeBrewing;
import de.ellpeck.actuallyadditions.api.recipe.coffee.CoffeeIngredient; import de.ellpeck.actuallyadditions.api.recipe.coffee.CoffeeIngredient;
@ -62,12 +61,12 @@ public class CoffeeMachineRecipeWrapper extends RecipeWrapperWithButton implemen
@Override @Override
public List<FluidStack> getFluidInputs(){ public List<FluidStack> getFluidInputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override
public List<FluidStack> getFluidOutputs(){ public List<FluidStack> getFluidOutputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override

View file

@ -10,7 +10,6 @@
package de.ellpeck.actuallyadditions.mod.jei.crusher; package de.ellpeck.actuallyadditions.mod.jei.crusher;
import com.google.common.collect.ImmutableList;
import de.ellpeck.actuallyadditions.api.booklet.BookletPage; import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
import de.ellpeck.actuallyadditions.api.recipe.CrusherRecipe; import de.ellpeck.actuallyadditions.api.recipe.CrusherRecipe;
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks; import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
@ -55,12 +54,12 @@ public class CrusherRecipeWrapper extends RecipeWrapperWithButton implements IRe
@Override @Override
public List<FluidStack> getFluidInputs(){ public List<FluidStack> getFluidInputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override
public List<FluidStack> getFluidOutputs(){ public List<FluidStack> getFluidOutputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override

View file

@ -10,7 +10,6 @@
package de.ellpeck.actuallyadditions.mod.jei.reconstructor; package de.ellpeck.actuallyadditions.mod.jei.reconstructor;
import com.google.common.collect.ImmutableList;
import de.ellpeck.actuallyadditions.api.booklet.BookletPage; import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
import de.ellpeck.actuallyadditions.api.recipe.LensNoneRecipe; import de.ellpeck.actuallyadditions.api.recipe.LensNoneRecipe;
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks; import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
@ -23,6 +22,7 @@ import net.minecraftforge.fluids.FluidStack;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;
import java.util.ArrayList;
import java.util.List; import java.util.List;
public class ReconstructorRecipeWrapper extends RecipeWrapperWithButton implements IRecipeWrapper{ public class ReconstructorRecipeWrapper extends RecipeWrapperWithButton implements IRecipeWrapper{
@ -45,12 +45,12 @@ public class ReconstructorRecipeWrapper extends RecipeWrapperWithButton implemen
@Override @Override
public List<FluidStack> getFluidInputs(){ public List<FluidStack> getFluidInputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override
public List<FluidStack> getFluidOutputs(){ public List<FluidStack> getFluidOutputs(){
return ImmutableList.of(); return new ArrayList<FluidStack>();
} }
@Override @Override