A repository of Minecraft-related Jupyter notebooks:
The notebooks in this repo are intended to be viewed in Github, which has a built-in notebook renderer. As such, you'll be best served treating this notebook as a reference of code examples and not as a repository of actual scripts or running code.
This repo contains no packages or modules, and any custom methods are defined as macros in the notebooks themselves.
The development environment for running these notebooks is provided as a conda environment YAML, so the easiest way to run the code in this repo will be to:
Install some conda distribution (I highly recommend mambaforge
)
and make sure it's configured to pull packages from the conda-forge repository.
Clone or download this repository.
Navigate to the project root and create the execution environment using:
$ mamba env create
(substituting conda
for mamba
if needed)
Activate the environment via
$ mamba activate beehive
(again, use conda activate
if you're not using mamba
)
Set the path to the world you're looking to explore via an environment variable named SAVE_PATH
, e.g.
$ export SAVE_PATH="/home/openbagtwo/.minecraft/saves/New World"
Start Jupyter
$ jupyter lab
This is my own personal notebook repository. If you have code feedback or suggestions, I welcome them (feel free to open an issue), but otherwise I advise creating your own fork.
All notebooks in this repository are licensed under GPLv3. If you have a use case for adapting this code that requires a more permissive license, please post an issue, and I'd be more than willing to consider a dual license.