Make it run but tons of useless copy-paste

This commit is contained in:
drcrazy 2018-07-20 02:56:19 +03:00
parent 523d0284b7
commit b3590dbb37
20 changed files with 150 additions and 170 deletions

View file

@ -72,10 +72,11 @@ public class StackToolTipEvent {
color = TextFormatting.YELLOW;
}
event.getToolTip().add(2, color + "" + percentage + "%" + TextFormatting.GRAY + " Charged");
// TODO: show both input and output rates
event.getToolTip().add(3,
TextFormatting.GRAY + "I/O Rate: "
+ TextFormatting.GOLD
+ PowerSystem.getLocaliszedPowerFormatted((int) ((IEnergyItemInfo) item).getMaxTransfer(event.getItemStack())));
+ PowerSystem.getLocaliszedPowerFormatted((int) ((IEnergyItemInfo) item).getMaxInput()));
}
}
else {