Skip to content

StringToEffectParser ​

final class · pocketmine\entity\effect\StringToEffectParser · source

Extends StringToTParser

Handles parsing effect types from strings. This is used to interpret names in the /effect command.

Methods ​

parse() ​

php
public function parse(string $input) : ?\pocketmine\entity\effect\Effect

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.