Skip to content

Instantly share code, notes, and snippets.

@timvisher
Created July 13, 2015 14:10
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 timvisher/4488e6799249c9e1d93b to your computer and use it in GitHub Desktop.
Save timvisher/4488e6799249c9e1d93b to your computer and use it in GitHub Desktop.
from optimizeimages import optipng
worlds["world"] = "/var/worlds/world"
renders["survivalday"] = {
"dimension": "overworld",
"optimizeimg":[optipng()],
"rendermode": smooth_lighting,
"title": "Day",
"world": "world",
}
renders["survivalnight"] = {
"dimension": "overworld",
"optimizeimg":[optipng()],
"rendermode": smooth_night,
"title": "Night",
"world": "world",
}
renders["survivalcaves"] = {
"dimension": "overworld",
"optimizeimg":[optipng()],
"rendermode": cave,
"title": "Caves",
"world": "world",
}
renders["survivalnether"] = {
"dimension": "nether",
"optimizeimg":[optipng()],
"rendermode": nether_smooth_lighting,
"title": "Nether",
"world": "world",
}
outputdir = "/var/maps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment