setItem

public abstract void setItem(ItemStack item)

Set the ItemStack for this thrown potion.

The ItemStack must be getClassById potion, otherwise an exception is thrown.

Parameters

item

New ItemStack