Class ShapedRecipe
- Namespace
- Obsidian.API.Crafting
- Assembly
- Obsidian.API.dll
public sealed class ShapedRecipe : IRecipeWithResult, IRecipe
- Inheritance
-
ShapedRecipe
- Implements
-
- Inherited Members
-
Properties
Category
public required CraftingBookCategory Category { get; init; }
Property Value
- CraftingBookCategory
Group
public string? Group { get; init; }
Property Value
- string
Identifier
public required string Identifier { get; init; }
Property Value
- string
Key
public required IReadOnlyDictionary<char, Ingredient> Key { get; init; }
Property Value
- IReadOnlyDictionary<char, Ingredient>
Pattern
public required IReadOnlyList<string> Pattern { get; init; }
Property Value
- IReadOnlyList<string>
Result
public required Ingredient Result { get; init; }
Property Value
- Ingredient
Type
public required CraftingType Type { get; init; }
Property Value
- CraftingType