API reference Obsidian.API.Client
BlockModelData record
What a block entity's BlockEntityModelProperties.Provider adds to its block's model: models from resource packs, and faces with any block texture, for textures chosen by data such as a facade's.
public sealed record BlockModelData : IEquatable<BlockModelData>
In Obsidian.API.Client.
Constructors
public BlockModelData();Properties
Faces
public IReadOnlyList<BlockModelFace> Faces { get; init; }Faces to draw in the block.
Parts
public IReadOnlyList<BlockModelPart> Parts { get; init; }Models to draw in the block, each one of BlockEntityModelProperties.Models.
ReplacesBlockModel
public bool ReplacesBlockModel { get; init; }Whether BlockModelData.Parts and BlockModelData.Faces replace the block state's model rather than adding to it, for a block whose look comes entirely from its data, or whose own model a facade covers.