public interface IProgrammingRecipe
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCraft(net.minecraft.item.ItemStack input) |
net.minecraft.item.ItemStack |
craft(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack option)
Craft the input ItemStack with the given option into an output ItemStack.
|
int |
getEnergyCost(net.minecraft.item.ItemStack option)
Get the energy cost of a given option ItemStack.
|
java.lang.String |
getId() |
java.util.List<net.minecraft.item.ItemStack> |
getOptions(int width,
int height)
Get a list (size at least width*height) of ItemStacks representing options.
|
java.lang.String getId()
java.util.List<net.minecraft.item.ItemStack> getOptions(int width,
int height)
width - The width of the Programming Table panel.height - The height of the Programming Table panel.int getEnergyCost(net.minecraft.item.ItemStack option)
option - boolean canCraft(net.minecraft.item.ItemStack input)
input - The input stack.net.minecraft.item.ItemStack craft(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack option)
input - option -