public interface IRecipe
| Modifier and Type | Method and Description |
|---|---|
default java.util.List<IUseInfo> |
getActualInputs(IInventory inventory) |
default java.util.List<ItemInstance> |
getActualOutputs(IInventory inventory,
java.util.List<ItemInstance> inputs) |
default GuiComponent |
getCustomComponent(IInventory inventory) |
java.util.List<IUseInfo> |
getInputs() |
IResourceName |
getName() |
java.util.List<ItemInstance> |
getOutputs() |
boolean |
isKnown(AbstractEntityPlayer player) |
static boolean |
matchesInv(IRecipe recipe,
IInventory inventory) |
boolean |
shouldDisplayIngredient(AbstractEntityPlayer player,
IUseInfo info) |
boolean |
shouldDisplayOutput(AbstractEntityPlayer player,
ItemInstance output) |
static boolean matchesInv(IRecipe recipe, IInventory inventory)
java.util.List<IUseInfo> getInputs()
default java.util.List<IUseInfo> getActualInputs(IInventory inventory)
java.util.List<ItemInstance> getOutputs()
default java.util.List<ItemInstance> getActualOutputs(IInventory inventory, java.util.List<ItemInstance> inputs)
boolean isKnown(AbstractEntityPlayer player)
boolean shouldDisplayIngredient(AbstractEntityPlayer player, IUseInfo info)
boolean shouldDisplayOutput(AbstractEntityPlayer player, ItemInstance output)
IResourceName getName()
default GuiComponent getCustomComponent(IInventory inventory)