Adds spawn output rendering (variant of night which shows dark areas in red) and support for multiple map types with buttons to switch between them.
This commit is contained in:
7
world.py
7
world.py
@@ -95,11 +95,12 @@ class WorldRenderer(object):
|
||||
files to update. If it includes a trailing newline, it is stripped, so you
|
||||
can pass in file handles just fine.
|
||||
"""
|
||||
def __init__(self, worlddir, cachedir, chunklist=None, lighting=False, night=False, useBiomeData=False):
|
||||
def __init__(self, worlddir, cachedir, chunklist=None, lighting=False, night=False, spawn=False, useBiomeData=False):
|
||||
self.worlddir = worlddir
|
||||
self.caves = False
|
||||
self.lighting = lighting or night
|
||||
self.night = night
|
||||
self.lighting = lighting or night or spawn
|
||||
self.night = night or spawn
|
||||
self.spawn = spawn
|
||||
self.cachedir = cachedir
|
||||
self.useBiomeData = useBiomeData
|
||||
|
||||
|
||||
Reference in New Issue
Block a user