Posted April 9, 201312 yr my mod needs to save extra data to a file with the currently loaded game, currently how i am getting the path is: ISaveHandler SH = world.getSaveHandler(); File file = new File(Minecraft.getMinecraftDir().getCanonicalPath() + "/saves/" + SH.getSaveDirectoryName() + "/data"); but unfortunately that only works client side
April 9, 201312 yr Author DimensionManager.getCurrentSaveRootDirectory() gives you .minecraft/saves/CURRENT_WORLD/ how the heck did i miss that? well thank you for the help
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.