Shader Armors

Optifine & Iris

Oraxen's custom armor mechanic is designed to work in Vanilla Minecraft. It's not compatible with Optifine or Iris out of the box. Since other shaders will take priority over the ones in Oraxen's Resourcepack, you need to do some additional steps.
If you are using Iris, and not Optifine, for shaders, you will also need the CIT Resewn mod. This mod adds the CIT, or Custom Item Texture, system from Optifine to Iris.

Setup for custom shader armor

As of Oraxen 1.142.1, Oraxen will automatically generate the shader armor for you. If you still want to do this manually, you can disable the setting automatically_generate_shader_compatible_armor in the settings.yml.\
First step is to create the folders Oraxen/pack/optifine/cit/armors/.
You then want to copy your armor_layer_1.png and armor_layer_2.png files to this folder. In this example we would copy emerald_armor_layer_1.png and emerald_armor_layer_2.png to this folder. Next, rename these files to emerald_armor_layer_1.png and emerald_armor_layer_2.png into emerald_layer_1 and emerald_layer_2.
Finally, you need to create a file called emerald.properties in this folder. Open this in NotePad or any other text editor. Then add the following lines:
items=minecraft:leather_helmet minecraft:leather_chestplate minecraft:leather_leggings minecraft:leather_boots
Of course, you will need to replace emerald with your armor name, and CustomModelData with the one your armor is tied to. If you don't know what CustomModelData your armor has, you can use the following command: /oraxen iteminfo emerald_helmet Though it is recommended to specify this yourself in the armors config file, you can let Oraxen distribute this automatically like all other items.
Then you are done! Your final folder should look somehting like this. Simply start up your server and the armor should work both with and without shaders!
Copy link
On this page
Optifine & Iris
Setup for custom shader armor