Data Repository#
The data repository contains essential assets for the application, including item textures for generating recipe images. The repository you specify must be accessible via Git for both reading and writing.
Note
You can find an example, valid data repository at ShapescapeMC/Shapescape-Recipe-Image-Generator-Data. If you configure the application to use it, it will partially work, however it doesnโt contain all of the necessary assets like block-images and RP, and you will need to add them to your local files manually.
How It Works#
When the application starts, it automatically pulls the latest changes from the repository.
If the application encounters an unknown item texture, it prompts you for the correct path and updates the repository automatically.
This setup is especially useful for teams: once a texture path is provided, others wonโt need to define it again.
The generator saves the repository in your user files in:
%userprofile%/AppData/Local/Shapescape/recipe-image-generator/data.
Data Repository Structure#
The structure of the data repository is the same as the project structure. But it has some additional folders.
For simplicity, this section only describes the differences between the project structure and the data repository structure. The items written in bold are unique to the data repository and donโt have matching items in the project directory.
๐ block-images
๐ example-workspace
๐ fonts
๐ images
๐ RP
๐ templates
๐๏ธ data_map.json\
๐ RP#
This path should contain a resource pack (typically vanilla, but can be customized) used for generating images. When youโre working in the interactive mode, pressing the โVanilla RPโ button opens this directory.
๐ example-workspace#
This folder contains an example workspace. Itโs also used when you press the โInitializeโ button to create a new project. The files from this folder are copied to the working directory during the initialization. See Project Structure for details.