-
Bug
-
Resolution: Fixed
-
Minecraft 1.11
-
Confirmed
From a stack of firework rockets, all explode correctly but the final one: The final one does not explode at all. (For a stack of one rocket, this looks as if no rocket would explode.)
This happens regardless whether the rockets are placed directly by a player or if they are launched from a dispenser.
This was not observed before in Minecraft Version 1.10 on the same system.
Code analysis
Based on 1.11 decompiled using MCP 9.35 rc1
This happens because the constructor net.minecraft.entity.item.EntityFireworkRocket.EntityFireworkRocket(World, double, double, double, ItemStack) saves the used item as FireworksItem instead of a copy of it. This means when you use the last firework item, the stored item has the count of 0 and is invalid.
- is duplicated by
-
MC-110908 Firework rocket effect don't work when launched from dispenser
- Resolved
- relates to
-
MC-105978 Lingering Potions lose their effect when thrown in survival
- Resolved
-
MC-105982 Placing a sign that was in a stack of 1 causes it to lose it's data
- Resolved
-
MC-106043 Placing a banner that was in a stack of 1 causes it to lose it's data
- Resolved
-
MC-110808 Eating Pufferfish in a stack of 1 does not give debuffs
- Resolved