Posted February 22, 201411 yr Hi i'm using gradle forge for 1.7.2 in my forge i get the error NoSuchFieldException when do Field achPageCurrent = GuiAchievements.class.getDeclaredField("currentPage"); while currentPage is clearly there Actually i don't know what to write in this signature soooo.... anyway
February 22, 201411 yr In an obfuscated version of Minecraft, namely outside any development environments, the field will not be called "currentPage". I would find the obfuscated field name right now, but my version of forge doesn't seem to have that field named. You should also note that if you are doing this in a core mod, the GuiAchievements class might not even exist at the time you're fetching the field. http://i.imgur.com/YOLa0KX.png[/img]
February 22, 201411 yr Author what's that name? also are you sure it has to have the obfuscated name also in forge (eclipse) ? Actually i don't know what to write in this signature soooo.... anyway
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.