- class RecipeMixin(name: str, similar_entities: list[str], **kwargs: dict)
Enables the Entity to have a current recipe it’s set to make and a set of recipes that it can make.
- property recipe: str
The recipe that this Entity is currently set to make.
ModuleLimitationWarningif the recipe changes to one that conflicts with the current module requests.
ItemLimtiationWarningif the recipe changes to one whose input ingredients no longer match the current item requests.
Gets the current recipe of the Entity.
Sets the current recipe of the Entity.
TypeError – If set to anything other than a
InvalidRecipeError – If set to a string that is not contained within this Entity’s
- property recipes: list
A list of all the recipes that this Entity can set itself to assemble. Not exported; read only.