FANDOM


In CS2, this has been replaced with armorTexture, allowing you to put the armor files into your mod's texture folder, called mod name. The format of the file is still the same as in CS1, so it is still possible to turn skins into armors. Please refer to the Armor Types page for examples using armorTexture in CS2.


CS1 Custom Stuff 1

Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.

CobaltArmor

Cobalt armor: Even EnderPlayers wear it.

The armorname attribute affects what Minecraft searches for when looking up the armor textures. The iconfile and iconindex attributes are still needed to determine what the item looks like in your inventory. The armorname attribute only affects what the armor looks like while it is worn by the player. This means you could make the armor look like a rock while in your inventory, even though it is a shine metal body plate when worn. Below is an example of the armorname in use for body armor.
name = "Cobalt Body";
id = 457;
iconfile = "Custom-items.png";
iconindex = 16;
type = "body";
maxuses = 2048;
armorname = "cobalt";
armormaterial="iron";

This will make the game look for the files cobalt_1.png and cobalt_2.png to determine how the worn version should look in game. In this case, cobalt_1.png contains the textures for the helmet, the body, and the boots for the armor set. The cobalt_2.png is used for the legs of the armor set.

The texture files for these need to be in .minecraft/bin/minecraft.jar/armor/ so that the game can find them. If the texture files for the armor set are anywhere else, the armor pieces will usually show up as solid white.

The format for the first texture files follow the same layout as a Minecraft player skin. This is the reason why the legs for armor have to be in a separate file from boots and body: the section called by leg armor is the same layout-wise as the sections for the boots and body.

The fortunate part about this setup is that armor is easy to create with a skin editor. Those experienced in making player skins will also have an easy time of it. For everyone else, though, actually viewing your armor files in Minecraft is probably the smartest way to see what you've done and how it looks.

Also, If you want to make a player skin into an armor, just make 2 copies of it. Rename one to skinarmor35_1.png and the other to skinarmor35_2.png and in the armor file, then set the armorname attribute like so.

armorname = "skinarmor35";

Warning: Results from skins might not always be as desired, edit the png files as needed to fix any issues.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.