Skip to content
mc-protocol
Esc
↑↓navigate↵open⌘Jpreview
On this page

Projectile Power

Play 0x87, server → client.

play · 0x87 · clientbound (server → client)

Sets the acceleration power of a projectile such as a fireball or wither skull. The server sends it when the projectile is spawned or its power changes. The client uses it to predict the projectile path.

Sent by the server, read by the client. Listen for it with client.on("ProjectilePower", (data) => …) on the receiving side.

Fields

Field Type Notes
id VarInt
accelerationPower Double

Send it

await client.sendPacket("ProjectilePower", {
  id: /* VarInt */,
  accelerationPower: /* Double */,
});

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: src/Core/Versions/776/Packets/play/clientbound/ProjectilePower.ts

Was this page helpful?