adjust for blockmap 1.4.0 release
This commit is contained in:
parent
e31130c74b
commit
6b9313cc6e
2 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@ ENV OUTPUT=/blockmap/output \
|
|||
INPUT_OVERWORLD=/blockmap/input/region \
|
||||
INPUT_NETHER=/blockmap/input/DIM1/region \
|
||||
INPUT_END=/blockmap/input/DIM-1/region \
|
||||
VERSION=1.3.0 \
|
||||
VERSION=1.4.0 \
|
||||
SHA1=cada13d8c9bba4a8dd1ed3017fd04a4a03695ca3
|
||||
|
||||
RUN mkdir -p /opt/blockmap /blockmap && \
|
||||
|
@ -24,7 +24,7 @@ RUN mkdir -p /opt/blockmap /blockmap && \
|
|||
ln -s $INPUT_NETHER /opt/blockmap/nether && \
|
||||
ln -s $INPUT_END /opt/blockmap/end && \
|
||||
ln -s $OUTPUT /opt/blockmap/output && \
|
||||
apk del .build-deps && \
|
||||
apk del .build-deps curl && \
|
||||
addgroup -g $PGID -S $GROUP && \
|
||||
adduser -u $PUID -G $GROUP -s /bin/sh -SDH $USER && \
|
||||
chown -R $USER:$GROUP /opt/blockmap /blockmap
|
||||
|
|
|
@ -21,21 +21,21 @@ ls -l /opt/blockmap
|
|||
# A simple and plain overworld view
|
||||
echo "[INFO] Rendering overworld..."
|
||||
mkdir -p $OUTPUT_DIR/overworld
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/overworld $WORLD_FOLDER_OVERWORLD save --world-name="Overworld" --file="$OUTPUT_DIR/rendered.json"
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/overworld $WORLD_FOLDER_OVERWORLD
|
||||
# The ocean grounds of the overworld
|
||||
echo "[INFO] Rendering overworld_ocean..."
|
||||
mkdir -p $OUTPUT_DIR/overworld_ocean
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/overworld_ocean -c=OCEAN_GROUND $WORLD_FOLDER_OVERWORLD save --world-name="Overworld (Ocean)" --file="$OUTPUT_DIR/rendered.json"
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/overworld_ocean -c=OCEAN_GROUND $WORLD_FOLDER_OVERWORLD
|
||||
# All caves up to height 30
|
||||
echo "[INFO] Rendering overworld_cave..."
|
||||
mkdir -p $OUTPUT_DIR/overworld_cave
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/overworld_cave -c=CAVES --max-height=30 $WORLD_FOLDER_OVERWORLD save --world-name="Overworld (Cave)" --file="$OUTPUT_DIR/rendered.json"
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/overworld_cave -c=CAVES --max-height=30 $WORLD_FOLDER_OVERWORLD
|
||||
# The nether up to height 64
|
||||
echo "[INFO] Rendering overworld_nether..."
|
||||
mkdir -p $OUTPUT_DIR/overworld_nether
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/nether --max-height=64 $WORLD_FOLDER_NETHER save --world-name="Nether" --file="$OUTPUT_DIR/rendered.json"
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/nether --max-height=64 $WORLD_FOLDER_NETHER
|
||||
# A plain view of the end
|
||||
echo "[INFO] Rendering overworld_end..."
|
||||
mkdir -p $OUTPUT_DIR/overworld_end
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/end $WORLD_FOLDER_END save --world-name="End" --file="$OUTPUT_DIR/rendered.json"
|
||||
java -jar $BLOCKMAP_FILE -v render -l -o=$OUTPUT_DIR/end $WORLD_FOLDER_END
|
||||
echo "[INFO] Rendering finished!"
|
||||
|
|
Loading…
Add table
Reference in a new issue