mojira.dev
MC-4309

Fireworks allow crafting of multiple variants at once, when shift-clicking the output

The bug

What I expected to happen was...:
Crafting fireworks with firework stars, using shift-click should just get me a stack of fireworks.

What actually happened was...:
It crafts the fireworks you want, plus with the remaining ingredients, it crafts whatever else it can, all at once.

How to reproduce

  • Set up the crafting table with equal-sized stacks of firework star, paper and gunpowder – except use fewer firework stars.

  • Shift-click to craft the fireworks.

  • All at once, it will craft rockets using up all the firework stars (expected), and also enough plain rockets to use up all the gunpowder and paper (unexpected).

Linked issues

Attachments

Comments 23

Please do not list as private unless it is a security issue.

Cannot reproduce, did exactly as you wrote, got 32 fireworks, no rockets.
Please refine your steps.

I think what he means is as follows:

1: Obtain or craft 1 or more Firework stars
2: On a crafting grid, place the firework star(s), and gunpowder and paper so that there is more paper and gunpowder than stars. For instance, if you have 1 star, place a group of 2 paper and a group of 2 gunpowder.
3: Shift-click the output. You will obtain 1 firework with a defined explosion AND 1 firework with no explosion (consuming the extra gunpowder and paper).

For a more extreme example, let's assume you have a stack of hard-earned gunpowder, a stack of paper, and a half stack of firework stars and want to make a grand fireworks display. You quickly place them on a grid like so:
32 stars, 64 gunpowder, 64 paper.
Then you shift-click the output.
You receive your 32 explosive fireworks, but much to your dismay, it automatically also converted the remaining gunpowder and paper into 32 non-explosive fireworks.

Expected behavior: shift clicking should only yield a group of 1 product (in the extreme example, only 32 explosive fireworks). The remaining input should remain in the crafting grid, and the NEXT output (non-explosive firework) should display.
Observed behavior: yields both explosive and non-explosive fireworks, consuming all usable recipes.

Confirmed. The main issue is that shift-clicking doesn't stop after the items of the recipe gunpowder + firework star + paper are used up, continuing to craft plain rockets from the recipe: paper + gunpowder.

Is this still a concern in the latest Minecraft version 14w04b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

13 more comments

Can Confirm in 1.19.3

Can confirm in version 1.21.6

[media]

But it also works with the rocket level, if, for example, I wanted to make only the third rocket level, but it doesn't stop and keeps making the levels lower.

AussieMine

[Mod] turbo

(Unassigned)

Confirmed

Platform

Normal

Crafting

crafting

Snapshot 12w49a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02b, Snapshot 13w09a, ..., 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.6

Retrieved