Skip to content
ct

Class

CraftingRecipeRegistry

Generated GDScript class reference for ItemVault.CraftingRecipeRegistry.

Status
Current
Version
v1.0
Updated
2026-07-31

Runtime registry of [CraftingRecipe]s keyed by stable recipe id. Registration validates fail-closed against a real Item Vault [ItemDatabase]: structurally invalid recipes are rejected (REASON_INVALID_RECIPE); duplicate recipe ids are rejected (REASON_DUPLICATE_ID); any input/output identity unknown to the database is rejected (REASON_UNKNOWN_ITEM); a null database is rejected (REASON_INVALID_DATABASE). Recipes registered with p_persist = true are eligible for persistence via [CraftingSave] (runtime-authored recipes). Resource-authored recipes (shipped .tres files re-registered on load) pass false so save data never duplicates them.

Source: addons/item_vault/crafting/recipes/crafting_recipe_registry.gd

Syntax

class CraftingRecipeRegistry extends RefCounted

Members

NameKindSummary
registerMethod
get_recipeMethod
hasMethod
countMethod
clearMethod
allMethod
persisted_recipesMethod
to_dictMethod
load_dictMethod