mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Added effect information to upgrade GUI
This commit is contained in:
1 parent
52efdac614
commit
d8e94b00d2
3 files changed
+31
-4
No files matched your search
@@ -53,6 +53,13 @@ public class GuiUpgradeManagement extends GuiMekanism
|
||||
|
||||
renderText(selectedType.getName() + " " + MekanismUtils.localize("gui.upgrade"), 92, 8, 0.6F, true);
|
||||
renderText(MekanismUtils.localize("gui.upgrades.amount") + ": " + amount + "/" + selectedType.getMax(), 92, 16, 0.6F, true);
|
||||
|
||||
int text = 0;
|
||||
|
||||
for(String s : selectedType.getInfo((TileEntity)tileEntity))
|
||||
{
|
||||
renderText(s, 92, 22+(6*text++), 0.6F, true);
|
||||
}
|
||||
}
|
||||
|
||||
int rendered = 0;
|
||||
|
||||
Reference in new issue
Block a user