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 revision
Previous revision
Next revisionBoth sides next revision
tutorial:armor [2022/04/13 09:39] – map2fabricyarn daomephstatutorial:armor [2022/06/12 08:38] – [Texturing] technici4n
Line 18: Line 18:
  private static final int[] PROTECTION_VALUES = new int[] {A, B, C, D};   private static final int[] PROTECTION_VALUES = new int[] {A, B, C, D}; 
  
- // In which A is helmet, B chestplate, C leggings and D boots+ // In which A is boots, B leggings, C chestplate, and D helmet
  // For reference, Leather uses {1, 2, 3, 1}, and Diamond/Netherite {3, 6, 8, 3}  // For reference, Leather uses {1, 2, 3, 1}, and Diamond/Netherite {3, 6, 8, 3}
 } }
Line 165: Line 165:
 Repeat with all armor items. Repeat with all armor items.
  
-To give your on-body armor a texture, simply place X_layer_1.png and X_layer_2.png (where X is the <yarn method_7694> argument you chose in your armor material class) into 'resources/assets/minecraft/textures/models/armor'.+Generally, mod textures go under resources/assets/<modid>, however **armor textures go specifically in the minecraft directory**: 
 +To give your on-body armor a texture, place X_layer_1.png and X_layer_2.png (where X is the <yarn method_7694> argument you chose in your armor material class) into 'resources/assets/minecraft/textures/models/armor'.
  
  
tutorial/armor.txt · Last modified: 2023/08/20 10:19 by wjz_p