Posted July 5, 20178 yr How can one query in 1.12 on the Advancement whether it has a player? In 1.11.2: StatisticsManager check = Minecraft.getMinecraft().player.getStatFileWriter(); if(check.hasAchievementUnlocked(AchievementList.BAKE_CAKE) == true){ } And in 1.12 with Advancements?
July 5, 20178 yr You'll have to look yourself, here's the AdvancementManager: Minecraft.getMinecraft().player.connection.getAdvancementManager(). Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
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.