If you make a custom recipe through Json in a datapack and set the max_stack_size
of the result item to less than its count
property, the item will not be craftable.
Steps to reproduce :
Load the datapack provided in this ticket into a save, this datapack modify the diamond block to diamond recipe to give diamonds stackable only up to 8 items with the new
max_stack_size
components introduced in the 24w12a snapshot.Try to craft a diamond block into 9 diamonds.
Expected result : The output of the crafting is 9 diamonds, with the components max_stack_size
set to 8.
Observed result : nothing is showed in the result of the crafting recipe.
Attachments
Comments 5
@haykam is haven't seen any error, the recipe seems to be loading just fine but the recipe does not work.
Please add steps to the description on how to reproduce this issue and expected VS observed results.
Using this datapack I am unable to craft diamond blocks into anything.
Putting a diamond block into my crafting table yields no results.
Diamonds are also stacking in my hotbar into 64, not 8.
Please record a video of this happening and attach it to this report. Please also attach an updated datapack.
If you are on Windows, you can use Windows
+Alt
+R
to open a built-in app for recording game footage.
If you are on Mac (Mojave or later), you can use Shift
+Command
+5
to open a built-in app for recording your screen.
In case you don't have a program to record videos, we recommend using the free recording software OBS.
In case the resulting video file is too large to be uploaded to the bug tracker directly, please upload it elsewhere (e.g. as unlisted video on YouTube) and link to it here.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Is the recipe loading and just not working, or is there an error during loading that prevents the recipe from working?