Fixes #233
This commit is contained in:
parent
e4760e559b
commit
f4a3e87ebb
3 changed files with 26 additions and 3 deletions
|
@ -8,6 +8,8 @@ import net.minecraft.item.crafting.IRecipe;
|
|||
import net.minecraft.item.crafting.ShapedRecipes;
|
||||
import net.minecraft.item.crafting.ShapelessRecipes;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
import net.minecraftforge.oredict.ShapelessOreRecipe;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
@ -19,6 +21,17 @@ public class RollingMachineRecipe {
|
|||
|
||||
public static final RollingMachineRecipe instance = new RollingMachineRecipe();
|
||||
|
||||
public void addShapedOreRecipe(ItemStack outputItemStack,
|
||||
Object... objectInputs) {
|
||||
recipes.add(new ShapedOreRecipe(outputItemStack, objectInputs));
|
||||
}
|
||||
|
||||
public void addShapelessOreRecipe(ItemStack outputItemStack,
|
||||
Object... objectInputs) {
|
||||
recipes
|
||||
.add(new ShapelessOreRecipe(outputItemStack, objectInputs));
|
||||
}
|
||||
|
||||
public void addRecipe(ItemStack output, Object... components) {
|
||||
String s = "";
|
||||
int i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue