22declare(strict_types=1);
 
   24namespace pocketmine\block\utils;
 
   26use pocketmine\utils\LegacyEnumShimTrait;
 
   38    use LegacyEnumShimTrait;
 
   45    public function hasEdgeSupport() : bool{
 
   46        return $this === self::EDGE || $this === self::FULL;
 
   49    public function hasCenterSupport() : bool{
 
   50        return $this === self::CENTER || $this === self::FULL;