22declare(strict_types=1);
24namespace pocketmine\data\bedrock;
27use pocketmine\utils\SingletonTrait;
32 use IntSaveIdMapTrait;
34 private function __construct(){
35 foreach(MedicineType::cases() as $case){
36 $this->
register(match($case){
37 MedicineType::ANTIDOTE => MedicineTypeIds::ANTIDOTE,
38 MedicineType::ELIXIR => MedicineTypeIds::ELIXIR,
39 MedicineType::EYE_DROPS => MedicineTypeIds::EYE_DROPS,
40 MedicineType::TONIC => MedicineTypeIds::TONIC,