We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f37a70c commit b0cec3dCopy full SHA for b0cec3d
src/systems/resourcepackCompiler.ts
@@ -218,9 +218,15 @@ export function compileResourcePack(options: {
218
optifineEmissive
219
)
220
}
221
+
222
// Transparent texture
223
+ const transparentTexturePath = PathModule.join(
224
+ resourcePackFolder,
225
+ 'assets/animated_java/textures/transparent.png'
226
+ )
227
+ fs.mkdirSync(PathModule.dirname(transparentTexturePath), { recursive: true })
228
fs.writeFileSync(
- PathModule.join(resourcePackFolder, 'assets/animated_java/textures/transparent.png'),
229
+ transparentTexturePath,
230
nativeImage.createFromDataURL(TRANSPARENT_TEXTURE.source).toPNG(),
231
'base64'
232
0 commit comments