Skip to content

API reference Obsidian.API.Crafting

RecipeType<TRecipe> class

A server-side machine recipe type, registered during a plugin's ConfigureRegistry.

public sealed class RecipeType<TRecipe> where TRecipe : class

In Obsidian.API.

Type parameters

TRecipe
An immutable recipe value made by the serializer.

Properties

Id

public int Id { get; }

A process-stable identity; it is not a vanilla network registry id.

Identifier

public string Identifier { get; }

The identifier JSON names in its type field.

On this page