public class KnowledgeBasedRecipe extends BasicRecipe
| Constructor and Description |
|---|
KnowledgeBasedRecipe(IResourceName name,
ItemInstance output,
IUseInfo... inputs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isKnown(AbstractEntityPlayer player) |
boolean |
shouldDisplayIngredient(AbstractEntityPlayer player,
IUseInfo info) |
boolean |
shouldDisplayOutput(AbstractEntityPlayer player,
ItemInstance output) |
getInputs, getName, getOutputs, register, registerManualclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchesInvpublic KnowledgeBasedRecipe(IResourceName name, ItemInstance output, IUseInfo... inputs)
public boolean isKnown(AbstractEntityPlayer player)
isKnown in interface IRecipeisKnown in class BasicRecipepublic boolean shouldDisplayIngredient(AbstractEntityPlayer player, IUseInfo info)
shouldDisplayIngredient in interface IRecipeshouldDisplayIngredient in class BasicRecipepublic boolean shouldDisplayOutput(AbstractEntityPlayer player, ItemInstance output)
shouldDisplayOutput in interface IRecipeshouldDisplayOutput in class BasicRecipe