22declare(strict_types=1);
24namespace pocketmine\data\bedrock;
28use pocketmine\utils\SingletonTrait;
33 use IntSaveIdMapTrait;
35 private function __construct(){
36 $this->
register(EffectIds::SPEED, VanillaEffects::SPEED());
37 $this->
register(EffectIds::SLOWNESS, VanillaEffects::SLOWNESS());
38 $this->
register(EffectIds::HASTE, VanillaEffects::HASTE());
39 $this->
register(EffectIds::MINING_FATIGUE, VanillaEffects::MINING_FATIGUE());
40 $this->
register(EffectIds::STRENGTH, VanillaEffects::STRENGTH());
41 $this->
register(EffectIds::INSTANT_HEALTH, VanillaEffects::INSTANT_HEALTH());
42 $this->
register(EffectIds::INSTANT_DAMAGE, VanillaEffects::INSTANT_DAMAGE());
43 $this->
register(EffectIds::JUMP_BOOST, VanillaEffects::JUMP_BOOST());
44 $this->
register(EffectIds::NAUSEA, VanillaEffects::NAUSEA());
45 $this->
register(EffectIds::REGENERATION, VanillaEffects::REGENERATION());
46 $this->
register(EffectIds::RESISTANCE, VanillaEffects::RESISTANCE());
47 $this->
register(EffectIds::FIRE_RESISTANCE, VanillaEffects::FIRE_RESISTANCE());
48 $this->
register(EffectIds::WATER_BREATHING, VanillaEffects::WATER_BREATHING());
49 $this->
register(EffectIds::INVISIBILITY, VanillaEffects::INVISIBILITY());
50 $this->
register(EffectIds::BLINDNESS, VanillaEffects::BLINDNESS());
51 $this->
register(EffectIds::NIGHT_VISION, VanillaEffects::NIGHT_VISION());
52 $this->
register(EffectIds::HUNGER, VanillaEffects::HUNGER());
53 $this->
register(EffectIds::WEAKNESS, VanillaEffects::WEAKNESS());
54 $this->
register(EffectIds::POISON, VanillaEffects::POISON());
55 $this->
register(EffectIds::WITHER, VanillaEffects::WITHER());
56 $this->
register(EffectIds::HEALTH_BOOST, VanillaEffects::HEALTH_BOOST());
57 $this->
register(EffectIds::ABSORPTION, VanillaEffects::ABSORPTION());
58 $this->
register(EffectIds::SATURATION, VanillaEffects::SATURATION());
59 $this->
register(EffectIds::LEVITATION, VanillaEffects::LEVITATION());
60 $this->
register(EffectIds::FATAL_POISON, VanillaEffects::FATAL_POISON());
61 $this->
register(EffectIds::CONDUIT_POWER, VanillaEffects::CONDUIT_POWER());
65 $this->
register(EffectIds::DARKNESS, VanillaEffects::DARKNESS());