Table of Contents

Interface IRecipeBase<T>

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public interface IRecipeBase<T>

Type Parameters

T

Properties

Enabled

bool Enabled { get; set; }

Property Value

bool

Ingredients

IRecipeIngredient[] Ingredients { get; }

Property Value

IRecipeIngredient[]

Name

AssetLocation Name { get; set; }

Property Value

AssetLocation

Output

IRecipeOutput Output { get; }

Property Value

IRecipeOutput

Methods

Clone()

T Clone()

Returns

T

GetNameToCodeMapping(IWorldAccessor)

Dictionary<string, string[]> GetNameToCodeMapping(IWorldAccessor world)

Parameters

world IWorldAccessor

Returns

Dictionary<string, string[]>

Resolve(IWorldAccessor, string)

bool Resolve(IWorldAccessor world, string sourceForErrorLogging)

Parameters

world IWorldAccessor
sourceForErrorLogging string

Returns

bool