2016-01-05 04:47:35 +01:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("CrusherRecipe.java") is part of the Actually Additions mod for Minecraft.
|
2016-01-05 04:47:35 +01:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2016-01-05 04:47:35 +01:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2016-05-16 22:54:42 +02:00
|
|
|
* © 2015-2016 Ellpeck
|
2016-01-05 04:47:35 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package de.ellpeck.actuallyadditions.api.recipe;
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraftforge.oredict.OreDictionary;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.Collections;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class CrusherRecipe{
|
|
|
|
|
|
|
|
public int outputTwoChance;
|
|
|
|
public String input;
|
|
|
|
public String outputOne;
|
|
|
|
public int outputOneAmount;
|
|
|
|
public String outputTwo;
|
|
|
|
public int outputTwoAmount;
|
2016-08-03 01:09:11 +02:00
|
|
|
public ItemStack inputStack;
|
|
|
|
public ItemStack outputOneStack;
|
|
|
|
public ItemStack outputTwoStack;
|
2016-01-05 04:47:35 +01:00
|
|
|
|
|
|
|
public CrusherRecipe(ItemStack input, String outputOne, int outputOneAmount){
|
|
|
|
this.inputStack = input;
|
|
|
|
this.outputOne = outputOne;
|
|
|
|
this.outputOneAmount = outputOneAmount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CrusherRecipe(ItemStack input, ItemStack outputOne, ItemStack outputTwo, int outputTwoChance){
|
|
|
|
this.inputStack = input;
|
|
|
|
this.outputOneStack = outputOne;
|
|
|
|
this.outputTwoStack = outputTwo;
|
|
|
|
this.outputTwoChance = outputTwoChance;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CrusherRecipe(String input, String outputOne, int outputOneAmount, String outputTwo, int outputTwoAmount, int outputTwoChance){
|
|
|
|
this.input = input;
|
|
|
|
this.outputOne = outputOne;
|
|
|
|
this.outputOneAmount = outputOneAmount;
|
|
|
|
this.outputTwo = outputTwo;
|
|
|
|
this.outputTwoAmount = outputTwoAmount;
|
|
|
|
this.outputTwoChance = outputTwoChance;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|