User Tools

Site Tools


tutorial:items

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:items [2019/06/30 23:04] – ` -> ' fixes draylartutorial:items [2019/07/06 03:43] – [Registering an Item] liach
Line 11: Line 11:
 { {
     // an instance of our new item     // an instance of our new item
-    public static final Item FABRIC_ITEM = new Item(new Item.Settings().itemGroup(ItemGroup.MISC));+    public static final Item FABRIC_ITEM = new Item(new Item.Settings().group(ItemGroup.MISC));
     [...]     [...]
 } }
Line 20: Line 20:
 { {
     // an instance of our new item     // an instance of our new item
-    public static final Item FABRIC_ITEM = new Item(new Item.Settings().itemGroup(ItemGroup.MISC));+    public static final Item FABRIC_ITEM = new Item(new Item.Settings().group(ItemGroup.MISC));
              
     @Override     @Override
tutorial/items.txt · Last modified: 2024/04/20 08:05 by ryhon