22declare(strict_types=1);
24namespace pocketmine\block\utils;
26use pocketmine\utils\LegacyEnumShimTrait;
37enum CopperOxidation :
int{
38 use LegacyEnumShimTrait;
45 public function getPrevious() : ?self{
46 return self::tryFrom($this->value - 1);
49 public function getNext() : ?self{
50 return self::tryFrom($this->value + 1);