Files
cosmetics/makefile
Gustavo "Guz" L de Mello af5bcd9ef8 feat: use item model definition to change model
use the item_model component instead of overriding a vanilla item model
definition to make the datapack/resourcepack more compatible with other
resourcepacks

created a javascript script to genenrate the item model, recipes and
translated text of items to streamline creation

changed returned item to poisonous potato since it doesn't has a use
2026-04-25 22:40:48 -03:00

18 lines
677 B
Makefile

release: clean
node ./.meta/generate_helmets.js
jq --arg version $$(cat VERSION) '.pack.description.with[0].fallback = $$version' ./pack.mcmeta > ./pack.mcmeta.tmp
mv ./pack.mcmeta.tmp ./pack.mcmeta
find ./assets ./data pack.mcmeta -type f -print | zip SixSides\ Cosmetics\ \(v$$(cat VERSION)\).zip -@
sync: release
@echo "Syncing files..."
cp SixSides\ Cosmetics\ \(v$$(cat VERSION)\).zip $(RESOURCEPACK_FOLDER)
cp SixSides\ Cosmetics\ \(v$$(cat VERSION)\).zip $(DATAPACK_FOLDER)
clean:
if [ -f SixSides\ Cosmetics\ \(v$$(cat VERSION)\).zip ]; then rm SixSides\ Cosmetics\ \(v$$(cat VERSION)\).zip; fi
dev:
while true; do $(MAKE) sync || $(MAKE); sleep 0.5; done