Skip to content

Instantly share code, notes, and snippets.

@majaha
Created August 10, 2014 02:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save majaha/d9f1bda86f3b6762a8c8 to your computer and use it in GitHub Desktop.
Save majaha/d9f1bda86f3b6762a8c8 to your computer and use it in GitHub Desktop.
MCEdit getting data folder in any dimension
if level.dimNo == 0:
dataPath = level.worldFolder.getFolderPath("data")
else:
dataPath = level.parentWorld.worldFolder.getFolderPath("data")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment