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, tryParse
public org.bukkit.potion.PotionType parse(java.lang.String text) throws ParsingException
TextParser
parse
in class TextParser<org.bukkit.potion.PotionType>
text
- - text to parse.ParsingException
- The text cannot be transformed into a list of objects.