13declare(strict_types=1);
15namespace pocketmine\network\mcpe\protocol;
20 public const NETWORK_ID = ProtocolInfo::PASSENGER_JUMP_PACKET;
22 public int $jumpStrength;
27 public static function create(
int $jumpStrength) : self{
29 $result->jumpStrength = $jumpStrength;
34 $this->jumpStrength = $in->getVarInt();
38 $out->putVarInt($this->jumpStrength);
42 return $handler->handlePassengerJump($this);
static create(int $jumpStrength)
encodePayload(PacketSerializer $out)
handle(PacketHandlerInterface $handler)
decodePayload(PacketSerializer $in)