Give conjured items a blue timer (durability) bar

This commit is contained in:
Electroblob77
2020-10-22 23:50:49 +01:00
parent 1f4de65356
commit e530695f54
9 changed files with 48 additions and 0 deletions
@@ -25,6 +25,11 @@ public class ItemSpectralArmour extends ItemArmor implements IConjuredItem {
return this.getMaxDamageFromNBT(stack, Spells.conjure_armour);
}
@Override
public int getRGBDurabilityForDisplay(ItemStack stack){
return IConjuredItem.getTimerBarColour(stack);
}
// Overridden to stop the enchantment trick making the name turn blue.
@Override
public EnumRarity getRarity(ItemStack stack){