For a custom block, the "minecraft:creative_category" object sets the category the item will appear in in the inventory and creative menu by accepting a "category" tag and a "group" tag.
The "group" tag is not required, as it only serves to put a block into a collapsible category, and those categories do not exist for all blocks.
When leaving out the "group" tag, blocks that have been assigned the category "Construction" appear in the Nature tab, and blocks that have been assigned the category "Nature" appear in the Construction tab.
How to Reproduce:
For any given addon that adds custom blocks, tag a block's "minecraft:creative_category" object with "category": "Construction" and "group": "itemGroup.name.stoneBrick".
In Minecraft, observe the categorization of the block. It will appear in the "Construction" tab (1) and show at the end of the "Decorative Stone" block group.
Remove the entire "group": "itemGroup.name.stoneBrick" portion of the "minecraft:creative_category" object
In Minecraft, observe the categorization of the block. It will appear in the "Nature" tab (4) just before the "Ores" block group.
The same can be done with "category": "Nature" and, for example, "group": "itemGroup.name.stone". It will either appear in the proper CategoryΒ and Group, or appear in the incorrect Category altogether.
Comments 4
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki
I have also verified that, when creating a 1.16.100+ version item, if two items are assigned to the same creative category, but no group is also associated, only one will appear.
This seems to be related, as the absence of a Group pair is a factor in odd behavior for both Blocks and Items