Posted April 11, 201510 yr As title. I can't seem to figure out where in god's name the right function is. I can see "hasAchievementUnlocked" in the Methods.csv but I can't locate a single item in the entire Minecraft codebase that has that name. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 11, 201510 yr Maybe you can use the AchievementEvent to check which achievement is achieved, and store that in a boolean . There may be other, better ways to do this, but I couldn't find one. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
April 11, 201510 yr Achievement is a stat actually. If one's achievement stat > 1, it's taken. Author of Tao Land Mod. http://taoland.herbix.me/images/1/14/TaoLandLogo.png[/img] Also, author of RenderTo ---- I'm not an English native speaker. I just try my best.
April 11, 201510 yr Author player.func_147099_x().hasAchievementUnlocked(<achievement>); With player being an EntityPlayerMP. Thanks diesieben. I found you answering this question for 1.7.2, but the EPMP class wasn't mentioned and for some reason Eclipse absolutely did not want to raw-text-search the project (with working sets I can usually get it to locate things, last night though it just failed). Now I can get my pseudo "two requirements" hack to work properly. While a single player playing alone would be forced to get things in order, not having to craft a furnace made it possible to skip one. It's just for visual awesomeness anyway, the invisible achievement still shows up in the chat log. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.