Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,6 +18,7 @@
package appeng.recipes.handlers;
import java.util.List;
import net.minecraft.item.ItemStack;
@@ -29,33 +30,34 @@ import appeng.api.exceptions.RegistrationError;
import appeng.api.recipes.ICraftHandler;
import appeng.api.recipes.IIngredient;
public class OreRegistration implements ICraftHandler
{
final List<IIngredient> inputs;
final String name;
public OreRegistration(List<IIngredient> in, String out) {
public OreRegistration( List<IIngredient> in, String out )
{
this.inputs = in;
this.name = out;
}
@Override
public void setup( List<List<IIngredient>> input, List<List<IIngredient>> output ) throws RecipeError
{
}
@Override
public void register() throws RegistrationError, MissingIngredientError
{
for (IIngredient i : this.inputs)
for( IIngredient i : this.inputs )
{
for (ItemStack is : i.getItemStackSet())
for( ItemStack is : i.getItemStackSet() )
{
OreDictionary.registerOre( this.name, is );
}
}
}
@Override
public void setup(List<List<IIngredient>> input, List<List<IIngredient>> output) throws RecipeError
{
}
}