Added the unlocalized name to upgrades, and changed it so the armour lists the upgrades.

This commit is contained in:
WayofTime 2016-01-05 11:12:56 -05:00
parent f4abee84ef
commit dceec15750
6 changed files with 72 additions and 1 deletions

View file

@ -74,4 +74,10 @@ public class LivingArmourUpgradeDigging extends LivingArmourUpgrade
{
// EMPTY
}
@Override
public String getUnlocalizedName()
{
return tooltipBase + "digging";
}
}

View file

@ -71,4 +71,10 @@ public class LivingArmourUpgradePoisonResist extends LivingArmourUpgrade
{
poisonCooldown = tag.getInteger(Constants.NBT.UPGRADE_POISON_TIMER);
}
@Override
public String getUnlocalizedName()
{
return tooltipBase + "poisonResist";
}
}

View file

@ -90,4 +90,10 @@ public class LivingArmourUpgradeSpeed extends LivingArmourUpgrade
{
// EMPTY
}
@Override
public String getUnlocalizedName()
{
return tooltipBase + "speed";
}
}