Last active
May 6, 2016 15:43
-
-
Save rickhenderson/6f51774c16e30f6857f0 to your computer and use it in GitHub Desktop.
Python script for creating a Minecraft Map to display a mineral overlay for diamonds using Minecraft Overviewer. The code contains hard coded drive locations and map names, so you would have to edit it for your own use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mineral_overlay.py | |
# Display minerals using Mineral overlay using Minecraft Overviewer | |
# Updated May 6, 2016 | |
outputdir = "c:/maps/devil" | |
worlds["Devil Land"] = "%appdata%/.minecraft/saves/Devil Land" | |
# Rendermodes for lighting include: normal, night, smooth_lighting, smooth_night, nether_smooth_lighting | |
renders["dlday"] = { | |
'world': "Devil Land", | |
'title': "Day", | |
'rendermode': smooth_lighting, | |
'dimension': "overworld", | |
} | |
renders["dlnight"] = { | |
"world": "Devil Land", | |
"title": "night", | |
"rendermode": night, | |
"dimension": "overworld", | |
} | |
renders['biomeover'] = { | |
'world': "Devil Land", | |
'rendermode': [BiomeOverlay()], | |
'title': "Biome Colouring Overlay", | |
'dimension': "overworld", | |
'overlay': ['dlday'], | |
} | |
# MineralOverlay(minerals=[(56,(255,255,0)), (16,(127,0,127))]) | |
# Diamonds = 56, Coal = 16? | |
renders['slime'] = { | |
'world': "Devil Land", | |
'title': "Slimes", | |
'rendermode': [SlimeOverlay()], | |
'dimension': "overworld", | |
'overlay': ['dlday'], | |
} | |
renders['minerals'] = { | |
'world': "Devil Land", | |
'title': "Minerals", | |
'rendermode': [MineralOverlay(minerals=[(56,(255,255,0)), (16,(127,0,127))])], | |
'dimension': "overworld", | |
'overlay': ['dlday'] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just fixed things up since this was my first Gist ever and now I know what I'm doing. And I know more Python too ;).