Scrapbox JEI handler and modified some scrapbox recipes
This is my first JEI handler, kinda just stole it from the compressor. hope I did good?
This commit is contained in:
parent
a379360ef5
commit
ca3cd6d4f8
7 changed files with 264 additions and 77 deletions
20
src/main/java/techreborn/api/recipe/ScrapboxRecipe.java
Normal file
20
src/main/java/techreborn/api/recipe/ScrapboxRecipe.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
package techreborn.api.recipe;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import techreborn.api.ScrapboxList;
|
||||
import techreborn.init.ModItems;
|
||||
import techreborn.lib.Reference;
|
||||
|
||||
public class ScrapboxRecipe extends BaseRecipe {
|
||||
|
||||
public ScrapboxRecipe(ItemStack output) {
|
||||
super(Reference.compressorRecipe, 0, 0);
|
||||
inputs.add(new ItemStack(ModItems.scrapBox));
|
||||
addOutput(output);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUserFreindlyName() {
|
||||
return "Scrapbox";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue