fix: bunch of block data fixes

This commit is contained in:
trafficlunar 2025-01-26 17:40:39 +00:00
parent 6883267b95
commit a953914bd3
7 changed files with 207 additions and 79 deletions

View file

@ -16,15 +16,18 @@ Before running any of these scripts you need to have a `blocks` directory with M
1. Run `node scripts/filter.js`
2. Every unneeded texture has been deleted
## resize.js
## fix.js
> Resizes image files bigger than 16x16 (these files are usually for animations such as fire)
> Rotates glazed_terracotta textures and resizes image files bigger than 16x16 (these files are usually for animations such as fire)
1. Run `node scripts/resize.js`
2. Every file has been resized accordingly
1. Run `node scripts/fix.js`
2. Every file has been fixed accordingly
## data.js
> [!IMPORTANT]
> Outdated
> Generates average colors, versions, names, ids, properties for blocks (NEEDS MANUAL EDITING AFTER!)
1. Change the version in `scripts/data.js`