The itemgroup.json
structure¶
Prerequisites
To understand whats following, ensure to have read the Content Pack Files Structure page.
All fresh new json are JsonObject file, there always starts with {}
Create your Creative Tab¶
Example
{ "registryName": "my_tab", //mandatory "itemIcon": "minecraft:dirt", //mandatory "noTitle": false, //optional "hasSearchBar": true, //optional "hasScrollBar": false, //optional "backgroundImage" : "my_background.png" //optional }
Values¶
registryName
Refer to an unique registry name for your item group
For uses in Blocks or Items, call it with your declared namespace
in content.pack
Example: my_super_pack:my_tab
itemIcon
Use registry name of items or block to create an icon of your Creative Tab
minecraft:dirt
or super_pack:my_block
for example
noTitle
(boolean)
Show Creative Tab title ?
default: true
hasSearchBar
(boolean)
Has a search bar on top of the Creative Tab ?
default: false
hasScrollBar
(boolean)
Has a scroll bar to the right of the Creative Tab ?
default: false
backgroundImage
Warning
The background texture need to go in:
assets/content_pack_id/textures/gui/container/creative_inventory/
And the texture file need to start with tab_
Example
assets/super_pack/textures/gui/container/creative_inventory/tab_my_background.png
Vanilla Creative Tabs¶
List of Vanilla Creative Tabs
minecraft:blocks
minecraft:decoration
minecraft:redstone
minecraft:transportation
minecraft:food
minecraft:tools
minecraft:combat
minecraft:brewing
minecraft:misc