Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ ENV RENDER_POI "true"
ENV RENDER_SIGNS_FILTER "-- RENDER --"
ENV RENDER_SIGNS_HIDE_FILTER "false"
ENV RENDER_SIGNS_JOINER "<br />"
ENV WORLD_PATH "/home/minecraft/server/world"
ENV NETHER_PATH "/home/minecraft/server/world"
ENV END_PATH "/home/minecraft/server/world"

# ---------------------------- #
# INSTALL & CONFIGURE DEFAULTS #
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ _Note:_ The `latest` Docker tag is rebuilt daily. If there are changes to the [u

- `RENDER_SIGNS_JOINER`
Default Value: `<br />`. Set to the string that should be used to join the lines on the sign while rendering. Value of `"<br />"` will make each in-game line it's own line on the render. A value of `" "` will make all the in-game lines a single line on the render.

- `WORLD_PATH`
Default Value: `/home/minecraft/server/world`. Set to the path inside the container containing your overworld map.
- `NETHER_PATH`
Default Value: `/home/minecraft/server/world`. Set to the path inside the container containing your nether map.
- `END_PATH`
Default Value: `/home/minecraft/server/world`. Set to the path inside the container containing your end map.
18 changes: 10 additions & 8 deletions config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def signFilter(poi):
return os.environ["RENDER_SIGNS_JOINER"].join(lines)


worlds["minecraft"] = "/home/minecraft/server/world"
worlds["world"] = os.environ["WORLD_PATH"]
worlds["nether"] = os.environ["NETHER_PATH"]
worlds["end"] = os.environ["END_PATH"]
outputdir = "/home/minecraft/render/"

markers = [
Expand All @@ -64,53 +66,53 @@ def signFilter(poi):
"dimension": "overworld",
"markers": markers,
"rendermode": "smooth_lighting",
"world": "minecraft",
"world": "world",
}

renders["night"] = {
"title": "Night",
"dimension": "overworld",
"markers": markers,
"rendermode": "smooth_night",
"world": "minecraft",
"world": "world",
}

renders["nether"] = {
"title": "Nether",
"dimension": "nether",
"markers": markers,
"rendermode": "nether_smooth_lighting",
"world": "minecraft",
"world": "nether",
}

renders["end"] = {
"title": "End",
"dimension": "end",
"markers": markers,
"rendermode": [Base(), EdgeLines(), SmoothLighting(strength=0.5)],
"world": "minecraft",
"world": "end",
}

renders["overlay_biome"] = {
"title": "Biome Coloring Overlay",
"dimension": "overworld",
"overlay": ["day"],
"rendermode": [ClearBase(), BiomeOverlay()],
"world": "minecraft",
"world": "world",
}

renders["overlay_mobs"] = {
"title": "Mob Spawnable Areas Overlay",
"dimension": "overworld",
"overlay": ["day"],
"rendermode": [ClearBase(), SpawnOverlay()],
"world": "minecraft",
"world": "world",
}

renders["overlay_slime"] = {
"title": "Slime Chunk Overlay",
"dimension": "overworld",
"overlay": ["day"],
"rendermode": [ClearBase(), SlimeOverlay()],
"world": "minecraft",
"world": "world",
}