of

@Contract(value = "_ -> new", pure = true)
fun of(item: ItemStack): ItemParticleData

Creates new item particle data with the given item.

Return

new item particle data

Parameters

item

the item that is shown