Skip to content

BlockItemsAttribute

namespace Griff.Modules.BlockWorlds;
public sealed class BlockItemsAttribute : RowsAttribute

Marks a list of strings as items and the tile each puts down, “Dirt 1” (a Blocks’ Items): the Inspector lists them a row each, the item named and its tile picked off the tileset.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public override string Describe()
public override IReadOnlyList<string>? Read(string row)
public override string Write(IReadOnlyList<string> cells)