getByName

public static PotionEffectType getByName(String name)

Gets the effect type specified by the given name.

Return

Resulting PotionEffectType, or null if not found.

Parameters

name

Name of PotionEffectType to fetch