BlockStateArgument record
A block and some of its properties as a command names them, like minecraft:oak_stairs[facing=east].
public sealed record BlockStateArgument : IEquatable<BlockStateArgument>
In Obsidian.API.
Constructors
BlockStateArgument(string, IReadOnlyDictionary<string, string>)
public BlockStateArgument(string Name, IReadOnlyDictionary<string, string> Properties);A block and some of its properties as a command names them, like minecraft:oak_stairs[facing=east].
Parameters
Name- The block's identifier, with its namespace.
Properties- The properties given; the others keep their defaults.
Properties
Name
public string Name { get; init; }The block's identifier, with its namespace.
Properties
public IReadOnlyDictionary<string, string> Properties { get; init; }The properties given; the others keep their defaults.