Skip to content

Companion

object Companion

Functions

of

fun of(base: Ingredient, components: DataComponentPatch): Ingredient

Creates a vanilla Ingredient matching base stacks whose components satisfy components.

fun of(base: Ingredient, builderAction: DataComponentPatch.Builder.() -> Unit): Ingredient

of overload that builds the component patch with builderAction.