User Tools

Site Tools


tutorial:armor_trim

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:armor_trim [2024/05/12 15:11] – used yarn code correctly herr_chaostutorial:armor_trim [2024/05/12 15:13] (current) – used yarn code correctly, fr this time herr_chaos
Line 6: Line 6:
 In theory we don't need to add a new item since this is more data packed than it is modded, but if you would do this using only a data pack we would be missing the nice tooltip in the description of the Armor Trim item.\\  In theory we don't need to add a new item since this is more data packed than it is modded, but if you would do this using only a data pack we would be missing the nice tooltip in the description of the Armor Trim item.\\ 
 To register this item we need to register it as a new  To register this item we need to register it as a new 
-<yarncode java [enable_line_numbers="true"]>class_8052.method_48418(new class_2960(MODID, TRIMID);</yarncode>+''<yarn class_8052.method_48418(new class_2960(MODID, TRIMID)>''
 The TrimId can be separate from the actual item name, but for ease of making we will use the same for both.\\  The TrimId can be separate from the actual item name, but for ease of making we will use the same for both.\\ 
 For the rest we will just need the basic thingamajig of item registration: For the rest we will just need the basic thingamajig of item registration:
tutorial/armor_trim.txt · Last modified: 2024/05/12 15:13 by herr_chaos