diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-19 13:00:29 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-19 13:00:29 +0200 |
commit | 3ba1d2b5bf7b1a5d29fa4cc9299599db1bae31bc (patch) | |
tree | 363bff3ac7d7b866cd20c9438207fb183176e914 | |
parent | d8548dbf5eefc8bc01b4ab5bb7726b416df7a574 (diff) | |
download | NotEnoughUpdates-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
-rw-r--r-- | Update Notes/2.0-Pre31.md | 2 | ||||
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 9 | ||||
-rw-r--r-- | src/main/resources/assets/notenoughupdates/pv_elements.png | bin | 3052 -> 3030 bytes |
3 files changed, 7 insertions, 4 deletions
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 Binary files differindex 25d500c9..7e9033bd 100644 --- a/src/main/resources/assets/notenoughupdates/pv_elements.png +++ b/src/main/resources/assets/notenoughupdates/pv_elements.png |