public abstract class AssemblyRecipe extends PneumaticCraftRecipe
| Modifier and Type | Class and Description |
|---|---|
static class |
AssemblyRecipe.AssemblyProgramType |
PneumaticCraftRecipe.DummyIInventory| Modifier | Constructor and Description |
|---|---|
protected |
AssemblyRecipe(net.minecraft.util.ResourceLocation id) |
| Modifier and Type | Method and Description |
|---|---|
abstract net.minecraft.item.crafting.Ingredient |
getInput()
Get the input ingredient.
|
abstract int |
getInputAmount()
Get the number of items required/used
|
abstract net.minecraft.item.ItemStack |
getOutput()
Get the output item for this recipe.
|
abstract AssemblyRecipe.AssemblyProgramType |
getProgramType()
Get the program required.
|
abstract boolean |
matches(net.minecraft.item.ItemStack stack)
Check if the given stack is a valid input for this recipe.
|
assemble, canCraftInDimensions, getId, getResultItem, isSpecial, matches, writepublic abstract net.minecraft.item.crafting.Ingredient getInput()
public abstract int getInputAmount()
@Nonnull public abstract net.minecraft.item.ItemStack getOutput()
public abstract AssemblyRecipe.AssemblyProgramType getProgramType()
public abstract boolean matches(net.minecraft.item.ItemStack stack)
stack - input stack