Create a new material instances property for a block definition.
The block definition that this property will be attached to.
Optionaloptions: Partial<BlockTypeMaterialInstancesComponentOptions>The options for the material instances property.
Protected ReadonlycollectionThe properties collection of the block type.
ReadonlyidentifierThe component identifier of the block type.
ReadonlymaterialsThe material instances of the block.
Protected ReadonlytypeThe block type of the component.
Static ReadonlyidentifierThe component identifier of the block type.
ProtectedcomponentThe component value of the block type.
Create a new material instance.
The key of the material instance.
The options for the material instance.
Remove a material instance.
Refrence the wiki for more information: https://wiki.bedrock.dev/blocks/block-components.html#material-instances