How to get world directory in 1.16.4? (For filemanager plugin)

Started by BarsTiger on Sun, 04/18/2021 - 13:26

Topic category: Help with modding (Java Edition)

Last seen on 16:07, 18. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to get world directory in 1.16.4? (For filemanager plugin)
Sun, 04/18/2021 - 13:26

I need to create file in mcrunfolder/saves/worldname with File Manager plugin, and it has only Get game dir function

Version of MC is 1.16.4

I wanted to use getWorldDirectory (from 1.7), but it doesn't work...

Last seen on 03:19, 2. May 2022
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Not sure if you still need…
Tue, 03/15/2022 - 00:20

Not sure if you still need this, but in case anyone else shares this problem you can do this, It has to be in a procedure that has the world parameter:

https://imgur.com/a/5cFRVL7