Home›Java›Mods›Armor Tweaker
Armor Tweaker
ModsJava

Armor Tweaker

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

by rinart73 · on CurseForge

⬇ Download on CurseForge

I noticed that there is no mod that allows you to change armor stats (which I needed to nerf some armor). So I made this.

Then I realized that there was actually a mod that allowed to change armor properties, but I believe that mine is more flexible. Also it uses MineTweaker/CraftTweaker .zs scripts.

 

What you can do with this mod

 

Notes

  1. If you'll assign "minecraft:leather" texture name to any material that is not leather, items will look like leather armor that was dyed white. This is not a bug, but a result of Minecraft code. I could "fix" that, but then I need to make a coremod, which will result in possible compatibility issues.
  2. Leather armor that will have material that is different from "leather" can't be dyed. Same reason as above.
  3. If you'll assign "leather" material to any armor (and keep texture name "minecraft:leather"), this armor will look like leather armor and can be dyed.
  4. Currently you can replace repair material for all armor, but can't remove default repair material for vanilla armor. So if you want to prevent your players from fixing diamond armor with diamonds, just set repair material to the nether star or something really rare.

 

Compatibility

 

Examples

Changing armor stats:

import mods.vanilla.ItemArmor;

var leatherHelmet = ItemArmor.get(<minecraft:leather_helmet>);
//Change material
leatherHelmet.material = <armorMaterial:DIAMOND>;
//Defence amount
leatherHelmet.damageReduceAmount = 5;
//Durability
leatherHelmet.maxDamage = 200;
//Armor toughness
leatherHelmet.toughness = 2;

 Changing armor material properties:

var materialLeather = <armorMaterial:LEATHER>;
//Changes visual appearance:
materialLeather.textureName = "minecraft:gold";
//Modifier that affects the durability of all armor parts
materialLeather.maxDamageFactor = 10;
//Defence amount for feet, legs, chest, head
materialLeather.damageReductionAmountArray = [2, 5, 6, 2];
//Affects the chance of good enchantments on enchantment table
materialLeather.enchantability = 25;
//Armor toughness
materialLeather.toughness = 3;
//IItemStack that will be used to repair armor
materialLeather.repairMaterial = <minecraft:feather>;

 Creating new material:

import mods.vanilla.ArmorMaterial;
 
//material name, texture name, durability modifier, damage reduction array, enchantability, toughness
var magicIron = ArmorMaterial.add("MAGIC_IRON", "minecraft:gold", 20, [3, 6, 7, 3], 25, 1);

You can list all armor with their stats using this chat command:

/minetweaker armor items

 And this one will list all armor materials with their properties:

/minetweaker armor materials

 

How to install

This mod requires CraftTweaker and MTLib.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more