GitHub Action that generates Minecraft default datapack data for a specified version.
jobs:
download-data:
runs-on: ubuntu-latest
steps:
- name: 'Download data to "./default_data"'
id: download_data
uses: MinecraftPlayground/generate-data@latest
with:
version: 1.21.2
path: './default_data'| Input | Required? | Default | Description |
|---|---|---|---|
version |
No | latest-release |
Minecraft version to generate assets for or one of latest-release/latest-snapshot. |
path |
No | ./default |
Relative path under $GITHUB_WORKSPACE to place the assets. |
api-url |
No | https://piston-meta.mojang.com/mc/game/version_manifest_v2.json |
URL to the Minecraft manifest API. |
The scripts and documentation in this project are released under the GPLv3 License.