Updated scrapboxinator to crafter and new GUI.
This commit is contained in:
parent
e0eb725878
commit
44b6f20357
8 changed files with 103 additions and 185 deletions
|
@ -22,11 +22,12 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package techreborn.api.recipe;
|
||||
package techreborn.api.recipe.machines;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import techreborn.api.Reference;
|
||||
import techreborn.api.TechRebornAPI;
|
||||
import techreborn.api.recipe.BaseRecipe;
|
||||
|
||||
//THIS is only here to trick JEI into showing recipes for the recycler
|
||||
public class RecyclerRecipe extends BaseRecipe {
|
|
@ -22,18 +22,21 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package techreborn.api.recipe;
|
||||
package techreborn.api.recipe.machines;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import techreborn.api.Reference;
|
||||
import techreborn.api.TechRebornAPI;
|
||||
import techreborn.api.recipe.BaseRecipe;
|
||||
|
||||
public class ScrapboxRecipe extends BaseRecipe {
|
||||
|
||||
public ScrapboxRecipe(ItemStack output) {
|
||||
super(Reference.scrapboxRecipe, 0, 0);
|
||||
addInput(new ItemStack(TechRebornAPI.getItem("SCRAP_BOX")));
|
||||
addOutput(output);
|
||||
public ScrapboxRecipe(ItemStack output, int tickTime, int euPerTick) {
|
||||
super(Reference.scrapboxRecipe, tickTime, euPerTick);
|
||||
if (output != null) {
|
||||
addInput(new ItemStack(TechRebornAPI.getItem("SCRAP_BOX")));
|
||||
addOutput(output);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
Loading…
Add table
Add a link
Reference in a new issue