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.
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
This mod requires CraftTweaker and MTLib.
No files available for download.