WorldDifficultyChangeEvent
Extends WorldEvent
Called when a world's difficulty is changed.
Methods
__construct()
php
public function __construct(\pocketmine\world\World $world, int $oldDifficulty, int $newDifficulty)getNewDifficulty()
php
public function getNewDifficulty() : intgetOldDifficulty()
php
public function getOldDifficulty() : int