tutorial:items
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:items [2022/12/11 21:24] – Remove item group haykam | tutorial:items [2022/12/18 04:09] – Include command to give newly created item, and syntax formatting on the same line. m4x | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== Registering an Item ==== | ==== Registering an Item ==== | ||
- | First, create an instance of <yarn class_1792> | + | First, create an instance of <yarn class_1792> |
< | < | ||
Line 18: | Line 18: | ||
</ | </ | ||
- | You'll use the vanilla registry system for registering new content. The basic syntax is ''< | + | You'll use the vanilla registry system for registering new content. The basic syntax is ''< |
< | < | ||
Line 32: | Line 32: | ||
} | } | ||
</ | </ | ||
- | Your new item has now been added to Minecraft. Run the run config | + | Your new item has now been added to Minecraft. Run the run config |
{{: | {{: |
tutorial/items.txt · Last modified: 2024/04/20 08:05 by ryhon