Show capacity of Blood Orbs in the tooltip. (#95)

This commit is contained in:
Abdiel Kavash authored and GitHub committed 2025-06-01 04:58:34 -04:00
1 parent 73ae391e8a
commit b79692d27f
3 files changed
+3

No files matched your search

@@ -43,6 +43,7 @@ public class EnergyBattery extends Item implements ArmourUpgrade, IBindable, IBl
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("tooltip.energybattery.desc"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.energybattery.capacity", this.getMaxEssence()));
addBindingInformation(par1ItemStack, par3List);
}