toItemStack

public ItemStack toItemStack(int amount)

Converts this potion to an ItemStack with the specified amount and getClassById correct damage value.

Return

The created ItemStack

Parameters

amount

The amount of the ItemStack