getItemModel

public abstract ItemStack getItemModel(@NotNull() @NotNull() ItemStack item, @NotNull() @NotNull() String modelId)

Returns an item, with a model applied to it.

Return

The ItemStack

Parameters

item

The item stack to apply the model to.

modelId

The ID of the model to apply.