of

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

Creates a ModItemStack from the source.

Return

the instance

Since

2.0.0

Parameters

source

the source item stack