of

@NotNull
open fun of(@NotNull source: @NotNull ItemStack): @NotNull FabricItemStack

Creates a FabricItemStack from the source.

Return

the instance

Since

2.0.0

Parameters

source

the source item stack