Minecraft wiki entry for Firework_Rocket, associated text: Using a firework rocket while flying with elytra propels the player in the direction they are facing. The duration of the speed boost depends on the flight duration of the rocket. If the rocket is equipped with a firework star of any kind, the player takes damage when it explodes.