Created
November 6, 2014 05:06
-
-
Save DanielHeath/3b7efd305068f0a5e781 to your computer and use it in GitHub Desktop.
mc-overviewer config file
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
worlds["rea"] = "/home/ubuntu/minecraft/rea" | |
purebdcraft = "/home/ubuntu/minecraft/resourcepack_pureBDcraft.zip" | |
outputdir = "/home/ubuntu/minecraft/rea-render" | |
def playerSpawnIcons(poi): | |
if poi['id'] == 'PlayerSpawn': | |
poi['icon'] = "bed.png" | |
return "Spawn for %s" % poi['EntityId'] | |
def playerIcons(poi): | |
if poi['id'] == 'Player': | |
poi['icon'] = "icons/marker_base_plain.svg" | |
return "Last known location for %s" % poi['EntityId'] | |
def signFilter(poi): | |
if poi['id'] == 'Sign': | |
return "\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']]) | |
defaultOpts = { | |
"world": "rea", | |
"title": "Overworld", | |
'markers': [ | |
dict(name="Spawns", filterFunction=playerSpawnIcons), | |
dict(name="Players", filterFunction=playerIcons), | |
dict(name="Signs", filterFunction=signFilter) | |
], | |
} | |
renders["normalrender"] = dict(defaultOpts.items() + { | |
"title": "Overworld", | |
}.items()) | |
renders["upsidedown"] = dict(defaultOpts.items() + { | |
"title": "Upside down", | |
"northdirection" : "lower-right", | |
"texturepath" : purebdcraft, | |
}.items()) | |
renders["nether"] = dict(defaultOpts.items() + { | |
"title": "Nether", | |
"rendermode": nether_smooth_lighting, | |
"dimension": "nether", | |
}.items()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment