| 64 | }; |
| 65 | |
| 66 | function processAnimations() { |
| 67 | // TODO: more animations. https://github.com/deathcap/ProgrammerArt/issues/10 |
| 68 | // and TODO: list all .mcmeta files on disk, ensure included if expected |
| 69 | zipRP.file('assets/minecraft/textures/items/compass.png.mcmeta', JSON.stringify({animation: {}}), fileOpts); |
| 70 | zipRP.file('assets/minecraft/textures/blocks/water_flow.png.mcmeta', JSON.stringify( |
| 71 | { |
| 72 | animation: |
| 73 | { |
| 74 | frametime: 10 |
| 75 | } |
| 76 | }), fileOpts); |
| 77 | }; |
| 78 | |
| 79 | function processTextures(thisRoot, category, tpPrefix, rpPrefix) { |
| 80 | var files = fs.readdirSync(thisRoot); |