PotionItem

constructor(name: String, base: PotionType = PotionType.WATER, splash: Boolean = false, lingering: Boolean = false)

Parameters

name

The name of the potion item.

base

The base potion type (default is PotionType.WATER).

splash

Whether the potion should be a splash potion (default is false).

lingering

Whether the potion should be a lingering potion (default is false).