MCPcopy Create free account
hub / github.com/deathcap/ProgrammerArt / processAnimations

Function processAnimations

scripts/generate.js:66–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64};
65
66function 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
79function processTextures(thisRoot, category, tpPrefix, rpPrefix) {
80 var files = fs.readdirSync(thisRoot);

Callers 1

generate.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected