#region #world #minecraft #rewrite #cli #image

app world-painter

A simple program to print the regions in a Minecraft world

1 unstable release

0.1.0 Jun 1, 2023

#418 in Games

Custom license

14KB
238 lines

world-painter

This is a rewrite of my previous WorldPainter originally written in Java, now written in Rust.

This tool takes in any number of directories and outputs them as an image showing the chunks, coloured by their size.

Image of output

The above image was formed using the following command:

$ world-painter \
~/server/world/region 25000 '#005207' \
~/server/world_nether/DIM-1/region 20000 '#370101' \
~/server/world_the_end/DIM1/region 25000 '#0f0022'

Usage

$ world-painter [<path> <world-border> <color>]...

One can specify however many worlds they wish to read, but all must have the path, worldborder, and colour in that order.

Todo

  • Better user interface
    • Better logging
    • Perhaps a file which can be read for the config rather than just having the command-line
    • Figure out how one can use clap to make the cli much nicer (I'd be surprised if what I wanted to do was not possible)
  • Zip & Upload image to bytebin
    • If bytebin says no because the image is too large, just write it to the disk.

Dependencies

~14–24MB
~156K SLoC