Last active 6 hours ago
Creates resource pack item definitionjs from existing textures
0
0
1
| 1 | #!/bin/bash |
| 2 | |
| 3 | # Simple script that automatically creates items/ and models/item defniitions |
| 4 | # based off the textures in the textures/item folder. |
| 5 | # It only checks for .png files |
| 6 | |
| 7 | # Must run from the namespace's folder (assets/<namespace>) |
| 8 | |
| 9 | NAMESPACE=$1 |
| 10 | if [[ -z "$NAMESPACE" ]]; then |