22declare(strict_types=1);
24namespace pocketmine\data\bedrock;
26use pocketmine\block\utils\MobHeadType;
27use pocketmine\utils\SingletonTrait;
32 use IntSaveIdMapTrait;
34 private function __construct(){
35 foreach(MobHeadType::cases() as $case){
36 $this->
register(match($case){
37 MobHeadType::SKELETON => 0,
38 MobHeadType::WITHER_SKELETON => 1,
39 MobHeadType::ZOMBIE => 2,
40 MobHeadType::PLAYER => 3,
41 MobHeadType::CREEPER => 4,
42 MobHeadType::DRAGON => 5,
43 MobHeadType::PIGLIN => 6,