Posted April 19, 20205 yr HI, I'm looking to get the saves directory of a World(ex. ".minecraft/saves/My World") as a java.io.File.I have looked throught all the methods in World, and found nothing. Is this even possible? Thanks in advance, Kid Koder Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
April 19, 20205 yr 1 minute ago, KidKoderMod033109 said: Is this even possible? Yes it is. ServerWorld::getSaveHandler and then SaveHandler::getWorldDirectory VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
April 19, 20205 yr Author 2 hours ago, Animefan8888 said: Yes it is. ServerWorld::getSaveHandler and then SaveHandler::getWorldDirectory How would I get a ServerWorld from a World? Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
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.