Interface IRecipeBase
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface IRecipeBase : IByteSerializable, ICloneable
- Inherited Members
-
- Extension Methods
-
Properties
AverageDurability
bool AverageDurability { get; set; }
Property Value
- bool
Enabled
bool Enabled { get; set; }
Property Value
- bool
Name
AssetLocation? Name { get; set; }
Property Value
- AssetLocation
RecipeId
int RecipeId { get; set; }
Property Value
- int
RecipeIngredients
IEnumerable<IRecipeIngredient> RecipeIngredients { get; }
Property Value
- IEnumerable<IRecipeIngredient>
RecipeOutput
IRecipeOutput RecipeOutput { get; }
Property Value
- IRecipeOutput
RequiresTrait
string? RequiresTrait { get; set; }
Property Value
- string
ShowInCreatedBy
bool ShowInCreatedBy { get; set; }
Property Value
- bool
Methods
CloneAsInterface()
IRecipeBase CloneAsInterface()
Returns
- IRecipeBase
GenerateRecipesForAllIngredientCombinations(IWorldAccessor)
IEnumerable<IRecipeBase> GenerateRecipesForAllIngredientCombinations(IWorldAccessor world)
Parameters
world IWorldAccessor
Returns
- IEnumerable<IRecipeBase>
OnParsed(IWorldAccessor)
void OnParsed(IWorldAccessor world)
Parameters
world IWorldAccessor
Resolve(IWorldAccessor, string)
bool Resolve(IWorldAccessor world, string sourceForErrorLogging)
Parameters
world IWorldAccessor
sourceForErrorLogging string
Returns
- bool