tutorial:itemgroup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:itemgroup [2019/06/17 18:56] – small refactoring + modid fixes draylar | tutorial:itemgroup [2019/09/18 10:32] – .group instead of .itemGroup yanis48 | ||
---|---|---|---|
Line 24: | Line 24: | ||
When creating a custom Item, call '' | When creating a custom Item, call '' | ||
<code java> | <code java> | ||
- | public static final Item YOUR_ITEM = new Item(new Item.Settings().itemGroup(ExampleMod.ITEM_GROUP)); | + | public static final Item YOUR_ITEM = new Item(new Item.Settings().group(ExampleMod.ITEM_GROUP)); |
</ | </ | ||
tutorial/itemgroup.txt · Last modified: 2023/10/01 03:21 by haykam