51 $data = ($this->zDiff < 0 ? 1 << 26 : 0) |
52 ($this->yDiff < 0 ? 1 << 25 : 0) |
53 ($this->xDiff < 0 ? 1 << 24 : 0) |
54 (abs($this->xDiff) << 16) |
55 (abs($this->yDiff) << 8) |
58 return [LevelEventPacket::create(LevelEvent::PARTICLE_DRAGON_EGG_TELEPORT, $data, $pos)];