Table of Contents

Constructor StyleSlotRecipe

Namespace
Velvet
Assembly
Velvet.Docs.dll

StyleSlotRecipe(Dictionary<string, string>)

Recipe without variants.

public StyleSlotRecipe(Dictionary<string, string> slots)

Parameters

slots Dictionary<string, string>

StyleSlotRecipe(Dictionary<string, string>, Dictionary<string, Dictionary<string, Dictionary<string, string>>>, Dictionary<string, string>?, SlotCompoundVariant[]?)

Recipe with variant axes.

public StyleSlotRecipe(Dictionary<string, string> slots, Dictionary<string, Dictionary<string, Dictionary<string, string>>> variants, Dictionary<string, string>? defaultVariants = null, StyleSlotRecipe.SlotCompoundVariant[]? compoundVariants = null)

Parameters

slots Dictionary<string, string>
variants Dictionary<string, Dictionary<string, Dictionary<string, string>>>
defaultVariants Dictionary<string, string>
compoundVariants SlotCompoundVariant[]