GitHub Action that generates Minecraft default resourcepack assets.
jobs:
# Download assest
download-assets:
runs-on: ubuntu-latest
steps:
- name: 'Download assets to "./default_assets".'
id: download_assets
uses: MinecraftPlayground/generate-assets@v1.0.0
with:
version: 1.21.2
default: './default_assets'
Input | Required? | Default | Description |
---|---|---|---|
version |
true |
Minecraft version to generate assets for. | |
path |
false |
./default |
Relative path under $GITHUB_WORKSPACE to place the assets. |
api-url |
false |
https://piston-meta.mojang.com/mc/game/version_manifest_v2.json |
URL to the Minecraft manifest API. |
resources-url |
false |
https://resources.download.minecraft.net |
URL to the Minecraft resources API. |
The scripts and documentation in this project are released under the GPLv3 License.