User Tools

Site Tools


tutorial:armor

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:armor [2021/09/10 15:14] – Add lowercase note to getName() daomephstatutorial:armor [2022/03/17 15:17] – fix furnygo
Line 5: Line 5:
 While armor is a bit more complicated to implement than a normal block or item, once you understand it, it becomes simple to implement. To add armor, we'll first make a CustomArmorMaterial class, then register the items. We'll also take a look at how to texture them. There's a special chapter at the end of this document that explains how to add knockback to the armor, since the method is only accessible through a mixin (as of 1.16.3). While armor is a bit more complicated to implement than a normal block or item, once you understand it, it becomes simple to implement. To add armor, we'll first make a CustomArmorMaterial class, then register the items. We'll also take a look at how to texture them. There's a special chapter at the end of this document that explains how to add knockback to the armor, since the method is only accessible through a mixin (as of 1.16.3).
  
-An example for this document can be found in [[https://github.com/CumulusMC/Gilded-Netherite|this mod GitHub repository]]. +An example for this document can be found in [[https://github.com/gdude2002/Gilded-Netherite|this mod GitHub repository]]. 
  
 ==== Creating an Armor Material class ==== ==== Creating an Armor Material class ====
tutorial/armor.txt · Last modified: 2023/08/20 10:19 by wjz_p