public interface IKnowledgeManager
| Modifier and Type | Method and Description |
|---|---|
void |
forgetInformation(IResourceName name) |
void |
forgetIngredient(IRecipe recipe,
IUseInfo info) |
void |
forgetOutput(IRecipe recipe,
ItemInstance instance) |
void |
forgetRecipe(IRecipe recipe,
boolean forgetAllParts) |
Information |
getInformation(IResourceName name) |
<T extends Information> |
getInformation(IResourceName name,
java.lang.Class<T> infoClass) |
boolean |
knowsInformation(IResourceName name) |
boolean |
knowsIngredient(IRecipe recipe,
IUseInfo info) |
boolean |
knowsOutput(IRecipe recipe,
ItemInstance instance) |
boolean |
knowsRecipe(IRecipe recipe) |
void |
teachInformation(Information information) |
void |
teachIngredient(IRecipe recipe,
IUseInfo info) |
void |
teachOutput(IRecipe recipe,
ItemInstance instance) |
void |
teachRecipe(IRecipe recipe,
boolean teachAllParts) |
boolean knowsRecipe(IRecipe recipe)
boolean knowsOutput(IRecipe recipe, ItemInstance instance)
boolean knowsInformation(IResourceName name)
Information getInformation(IResourceName name)
<T extends Information> T getInformation(IResourceName name, java.lang.Class<T> infoClass)
void teachRecipe(IRecipe recipe, boolean teachAllParts)
void teachOutput(IRecipe recipe, ItemInstance instance)
void teachInformation(Information information)
void forgetRecipe(IRecipe recipe, boolean forgetAllParts)
void forgetOutput(IRecipe recipe, ItemInstance instance)
void forgetInformation(IResourceName name)