Used to tell the client about where an explosion occured and what blocks were destroyed due to it. This spawns the explosion particles and plays the sound as well.
Clientbound
Field
Type
Description
X
Double
The X position of the explosion
Y
Double
The Y position of the explosion
Z
Double
The Z position of the explosion
Explosion Radius
Float
The radius of the explosion
Number of Destroyed Blocks
Integer
The number of destroyed blocks
Destroyed Blocks
Byte Array
The offsets of each destroyed block
The Destroyed Blocks Array has a format of (X,Y,Z) as bytes. These are added onto the explosions origin position, which is converted to an Integer.