mojira.dev
MC-268854

Firework explosions in items without a `Type` field are not correctly upgraded

Step to step guide to reproduce:

  1. In an older version use a command block to give yourself a firework with an explosion containing no `Type` field (should default to `small_ball`).

  2. Update to the latest snapshot. The explosions will have been dropped from the firework.

 

Attachments

Comments 4

Please may you add a step to step guide detailing how to reproduce this issue?

Added a step by step reproduction

Can you provide the needed commands to give the firework with X amount of explosions?

I can confirm, though I'm updating the description a bit to match my latest observations. In particular, the maximum number of firework explosions is now 256, not 16, but exceeding the limit still deletes all of them.
I wasn't able to reproduce any issues with enchantments; ones that were out of range were set to 255 after upgrading.
I've attached the 1.20.4 world here

AgentM

gegy

Confirmed

Platform

Normal

Commands, Datafixer

24w09a, 1.20.5 Pre-Release 1

1.20.5 Pre-Release 2

Retrieved