- GDPC http client
- Generative Structure placement based on a masking system
- Random pathing algorithm
- Masking for water, lava, and paths
- Structure padding, path location
- Structure rotation
- Height map and masking visualization tool
- Border visualization
The code requires the use of minecraft data files, particularly the village
nbt files that are packaged with Minecraft.jar. Provided the EULA, we cannot provide explicitly the files within the repository. The steps to retrieve those files are provided.
- Download the server.jar here
- Unzip the server.jar file with your preferred unarchiver
- Open the folder and search for data folder
- In the folder should contain the directory
minecraft
- In that folder has a directory
structure
- Finally,
village
directory can be spotted in the folder, we will need this for the code - move or copy
village
into the working directory and rename the folder tovillages
This ensures that the code will know where the provided NBT files are located
- Install the required NBT files from minecraft, either as described in Requirements or using the script
./grab.sh
- Install python dependencies
> pip install -r requirements.txt
> python buildVillage.py