RecipesAttribute
namespace Griff.Modules.BlockWorlds;
public sealed class RecipesAttribute : RowsAttributeMarks a list of strings as recipes, “Torch 4 = Wood + Coal @ Workbench” (a Crafting’s Recipes): the Inspector lists them a row each, what it makes and how many, what it takes picked item by item, and where.
Properties
Section titled “Properties”Columns
Section titled “Columns”public override IReadOnlyList<RowColumn> Columns { get; }Example
Section titled “Example”public override string Example { get; }public override string Noun { get; }Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()NewRow
Section titled “NewRow”public override IReadOnlyList<string> NewRow()public override IReadOnlyList<string>? Read(string row)public override string Write(IReadOnlyList<string> cells)