Материал неломающейся брони

Статус
В этой теме нельзя размещать новые ответы.
Версия Minecraft
1.7.10
Добрый вечер!
Подскажите как сделать материал для брони, у которой не будет полоски повреждений.

Сейчас у меня вот так:
Java:
static ArmorMaterial LIGHT_IRON = EnumHelper.addArmorMaterial("LIGHT_IRON", 8, new int[]{1, 3, 2, 2}, 30);

И сам доспех:
Java:
public class ArmorLightIron extends ItemArmor {

   private String texturePath = "wom:textures/model/armor/";


   public ArmorLightIron(int id, int armorType) {
      super(wom.LIGHT_IRON, id, armorType);
      this.setCreativeTab(CreativeTabs.tabCombat);
      this.setMaxStackSize(1);
      this.setTextureName();
      this.setCreativeTab(wom.tabWOM);
   }

   public void setTextureName() {
      if(super.armorType != 0 && super.armorType != 1 && super.armorType != 3) {
         this.texturePath = this.texturePath + "armor_light_iron_2.png";
      } else {
         this.texturePath = this.texturePath + "armor_light_iron_1.png";
      }

   }

   public String getArmorTexture(ItemStack itemstack, Entity entity, int slot, String type) {
      return this.texturePath;
   }
}
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху