From d8548dbf5eefc8bc01b4ab5bb7726b416df7a574 Mon Sep 17 00:00:00 2001 From: DoKM Date: Wed, 18 Aug 2021 23:04:56 +0200 Subject: Add mastermode to /pv not fully done yet but should be good enough for a release also update changelog --- .../resources/assets/notenoughupdates/pv_elements.png | Bin 5129 -> 3052 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'src/main/resources/assets/notenoughupdates/pv_elements.png') diff --git a/src/main/resources/assets/notenoughupdates/pv_elements.png b/src/main/resources/assets/notenoughupdates/pv_elements.png index 68c4fd9f..25d500c9 100644 Binary files a/src/main/resources/assets/notenoughupdates/pv_elements.png and b/src/main/resources/assets/notenoughupdates/pv_elements.png differ -- cgit From 3ba1d2b5bf7b1a5d29fa4cc9299599db1bae31bc Mon Sep 17 00:00:00 2001 From: DoKM Date: Thu, 19 Aug 2021 13:00:29 +0200 Subject: Almost finish mastermode support just needs mastermode xp but the rest is very pog already --- Update Notes/2.0-Pre31.md | 2 +- .../profileviewer/GuiProfileViewer.java | 9 ++++++--- .../resources/assets/notenoughupdates/pv_elements.png | Bin 3052 -> 3030 bytes 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/main/resources/assets/notenoughupdates/pv_elements.png') diff --git a/Update Notes/2.0-Pre31.md b/Update Notes/2.0-Pre31.md index 7083cea0..b6cc67bd 100644 --- a/Update Notes/2.0-Pre31.md +++ b/Update Notes/2.0-Pre31.md @@ -27,7 +27,7 @@ - Added load from/copy to clipboard to neu inventory buttons gui. - Added SBA chroma support to neuec. - Added a crafting recipe overlay when looking up a recipe while in the crafting menu (to more easily craft items like the Soul Esoward recipe) (DeDiamondPro) -- Added mastermode support to /pv (not fully done yet) +- Added mastermode support to /pv (basically done, just needs mastermode xp) ### **Bug Fixes** 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); diff --git a/src/main/resources/assets/notenoughupdates/pv_elements.png b/src/main/resources/assets/notenoughupdates/pv_elements.png index 25d500c9..7e9033bd 100644 Binary files a/src/main/resources/assets/notenoughupdates/pv_elements.png and b/src/main/resources/assets/notenoughupdates/pv_elements.png differ -- cgit