mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-21 00:07:50 +08:00
add template readme, update script
This commit is contained in:
parent
5b03658c41
commit
52594451f0
2
shaders/template/.gitignore
vendored
Normal file
2
shaders/template/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
potater.exe
|
||||
potater
|
2
shaders/template/readme.md
Normal file
2
shaders/template/readme.md
Normal file
@ -0,0 +1,2 @@
|
||||
## Editing Property Templates
|
||||
The block, item, and entity property files are generated with a template builder. To modify these templates, you will need [PoTater](https://github.com/Null-MC/PoTater) to regenerate the final property files. Download the latest [release](https://github.com/Null-MC/PoTater/releases) binary for your system, and place it in this `~/template` folder. Then run `~/update.sh` as needed to generate the new property files.
|
5
shaders/template/update.sh
Normal file
5
shaders/template/update.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
./potater item '../item.properties' '../lib/items.glsl' -t './item.properties'
|
||||
./potater block '../block.properties' '../lib/blocks.glsl' -t './block.properties'
|
||||
./potater entity '../entity.properties' '../lib/entities.glsl' -t './entity.properties'
|
Loading…
x
Reference in New Issue
Block a user