Skip to content

Demo Helpers — Runtime

This folder contains sample-only registration glue used by the Crafting demo helpers.

These types are not part of the supported Crafting API. They exist to connect sample authoring assets to the public recipe-resolution pipeline at runtime.


Purpose

The demo authoring assets in Authoring/ are not consumed directly by the Crafting runtime.

Instead, they are resolved into the core runtime model:

  • RecipeCore

This folder contains the small registration/bootstrap code that makes that possible.


Included Types

StandaloneRecipeDefinitionRegistration

Registers the sample StandaloneRecipeDefinition wrapper with:

  • RecipeResolve.RegisterExternalConverter(...)

This allows standalone sample recipe assets to resolve through the same supported public pipeline as other recipe sources.


Important Notes

  • These types are sample scaffolding only
  • They are not required by the core Crafting runtime
  • They are not a public extension surface by themselves
  • They may be changed, moved, or removed without affecting the supported API

Usage Guidance

Consumers should not call these helpers directly.

Instead:

  • author sample recipes through StandaloneRecipeDefinition
  • resolve recipes through RecipeResolve
  • treat this folder as internal sample bootstrapping

Summary

  • Authoring/ → sample recipe asset
  • Runtime/ → sample registration glue
  • RecipeResolve → supported public resolution seam