Skip to content

ItemColorsAttribute

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

Marks a list of strings as items and their colors, “Dirt #8B5A2B” (a Hotbar’s Colors): the Inspector lists them a row each, the item picked and the color shown.

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)