aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-19 13:00:29 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-19 13:00:29 +0200
commit3ba1d2b5bf7b1a5d29fa4cc9299599db1bae31bc (patch)
tree363bff3ac7d7b866cd20c9438207fb183176e914 /src/main/java/io
parentd8548dbf5eefc8bc01b4ab5bb7726b416df7a574 (diff)
downloadNotEnoughUpdates-3ba1d2b5bf7b1a5d29fa4cc9299599db1bae31bc.tar.gz
NotEnoughUpdates-3ba1d2b5bf7b1a5d29fa4cc9299599db1bae31bc.tar.bz2
NotEnoughUpdates-3ba1d2b5bf7b1a5d29fa4cc9299599db1bae31bc.zip
Almost finish mastermode support
just needs mastermode xp but the rest is very pog already
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
index d257ef1d..22cbf04d 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
@@ -786,6 +786,9 @@ public class GuiProfileViewer extends GuiScreen {
String dungeonString = onMasterMode?"master_catacombs":"catacombs";
+ //Utils.drawStringCentered((onMasterMode?"Master Mode":"Catacombs"),fontRendererObj,(guiLeft+sizeX/2), guiTop+10, true, 0xffff0000);
+ Utils.renderShadowedString(EnumChatFormatting.RED+(onMasterMode?"Master Mode":"Catacombs"),
+ (guiLeft+sizeX/2), guiTop+5, sectionWidth);
ProfileViewer.Level levelObjCata = levelObjCatas.get(profileId);
@@ -1122,8 +1125,8 @@ public class GuiProfileViewer extends GuiScreen {
int x = guiLeft-28;
int y = guiTop+yIndex*28;
- float uMin = 194/256f;
- float uMax = 224/256f;
+ float uMin = 193/256f;
+ float uMax = 223/256f;
float vMin = 200/256f;
float vMax = 228/256f;
if(pressed) {
@@ -1152,7 +1155,7 @@ public class GuiProfileViewer extends GuiScreen {
Utils.drawTexturedRect(x, y, pressed?32:28, 28, uMin, uMax, vMin, vMax, GL11.GL_NEAREST);
GlStateManager.enableDepth();
- Utils.drawItemStack(itemStack, x+6, y+6);
+ Utils.drawItemStack(itemStack, x+8, y+7);