StringToEnchantmentParser
Extends StringToTParser
Handles parsing enchantments from strings. This is used to interpret names in the /enchant command.
Methods
parse()
php
public function parse(string $input) : ?\pocketmine\item\enchantment\Enchantment