CustomItem

constructor(item: ItemStack, id: String)

Parameters

item

The ItemStack that represents the custom item.

id

The unique identifier for the custom item.