simplescreenrecorder-2021-10-20_04.38.36.mp4
- Python 3
- Minecraft Server 1.16
- Screen (linux utility)
- Docker (optional, only for ease of packaging)
- Start a superflat world with minecraft server on port specified in server.properties. This starts the server in a terminal
- You can join the server from the minecraft client to see blocks being placed in real time
- 'Screen' connects to this terminal to send minecraft commands
generate.py
generates y and z coordinates (corrosponding to x) with specified functionsgenerate.py
also sends thescreen
commands to the minecraft server
- https://www.desmos.com/calculator to visualize a function in 2D
- You can undo generated structure by setting
DEFAULT_SUBSTANCE
to 'air' and rerunning