tutorial:itemgroup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:itemgroup [2019/02/19 14:44] – mcrafterzz | tutorial:itemgroup [2019/02/21 13:17] – mcrafterzz | ||
---|---|---|---|
Line 2: | Line 2: | ||
Do you want your blocks and items blocks to have their own group in the creative inventory? Then that can easly be fixed. The most common way to create one is to use // | Do you want your blocks and items blocks to have their own group in the creative inventory? Then that can easly be fixed. The most common way to create one is to use // | ||
+ | | ||
| | ||
| | ||
- | ItemGroup itemGroup | + | ITEM_GROUP |
- | (block)).build(); | + | |
} | } | ||
- | The modid is the id of your mod, name is the name of the creative tabs (must be lowercase to not crash). The icon is should be an itemstack, created with either an item or a block like in this case. To add blocks to your item group use // | + | The modid is the id of your mod, name is the name of the creative tabs (must be lowercase to not crash). The icon is should be an itemstack, created with either an item or a block like in this case for example // |
- | | + | |
Creating an item group is as easy as that! | Creating an item group is as easy as that! |
tutorial/itemgroup.txt · Last modified: 2024/06/17 12:49 by solidblock