EWM
Members-
Posts
5 -
Joined
-
Last visited
EWM's Achievements
Tree Puncher (2/8)
0
Reputation
-
I I just thought about what I was trying to do and realized what a rookie mistake I made. I should've listened more carefully at uni. Thanks for your quick replies guys.
-
can't make a static reference to a non static method public void onRenderGameOverlay(RenderGameOverlayEvent event) { if(!event.isCancelable() && event.getType() == ElementType.EXPERIENCE) { Minecraft mc = Minecraft.getInstance(); if(!mc.player.isCreative()) { int posX = MainWindow.getHeight(); } }
-
How do I access it though? MainWindow.getHeight() doesn't work/exist, and eclipse doesn't suggest any similar methods. Sorry for asking stupid questions, I'm quite new to modding in minecraft.
-
Hello, is there a get method for screen width and height values? I need it to position my gui overlay.
-
EWM joined the community