S9SourceNine Labs / CMAPI Docs 1.0
CMAPI / API reference

IRecipeManager

Provides read-only discovery of Planet Crafter recipes.

View source ↗
CMAPI 1.0.0Standalone runtimeWindows x64Tested with Planet Crafter 2.008
Namespace CMAPIInterfaceAssembly CMAPI.API.dll
public interface IRecipeManager

Provides read-only discovery of Planet Crafter recipes.

Members

AllRecipes

property
IReadOnlyList<IRecipeDefinition> AllRecipes

Gets all current recipes ordered by output name and ID.

TryGetRecipe

method
bool TryGetRecipe(string outputId, out IRecipeDefinition? recipe)

Finds a recipe by its exact output group ID.

FindRecipes

method
IReadOnlyList<IRecipeDefinition> FindRecipes(string search)

Finds recipes whose output ID, output name, ingredient ID, ingredient name, or crafting-station ID contains the given text.