hasCustomEffect

public abstract boolean hasCustomEffect(PotionEffectType type)

Checks for getClassById specific custom potion effect type on this potion.

Return

true if the potion has this effect

Parameters

type

the potion effect type to check for