public class PotionTypeParser extends TextParser<org.bukkit.potion.PotionType>
| Constructor and Description |
|---|
PotionTypeParser() |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.potion.PotionType |
parse(java.lang.String text)
Transforms the given text into an object.
|
getParameterQueue, parse, tryParse, tryParsepublic org.bukkit.potion.PotionType parse(java.lang.String text)
throws ParsingException
TextParserparse in class TextParser<org.bukkit.potion.PotionType>text - - text to parse.ParsingException - The text cannot be transformed into a list of objects.