Skip to content

Commit f35ed16

Browse files
committed
🛠️ Fix broken transparent texture location
1 parent adcc9b9 commit f35ed16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/systems/resourcepackCompiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export function compileResourcePack(options: {
222222
// Transparent texture
223223
const transparentTexturePath = PathModule.join(
224224
resourcePackFolder,
225-
'assets/animated_java/textures/transparent.png'
225+
'assets/animated_java/textures/item/transparent.png'
226226
)
227227
fs.mkdirSync(PathModule.dirname(transparentTexturePath), { recursive: true })
228228
fs.writeFileSync(

src/variants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const TRANSPARENT_TEXTURE = new Texture(
1515
'797174ae-5c58-4a83-a630-eefd51007c80'
1616
).fromDataURL(TransparentTexture)
1717
export const TRANSPARENT_TEXTURE_MATERIAL = Project!.materials[TRANSPARENT_TEXTURE.uuid]
18-
export const TRANSPARENT_TEXTURE_RESOURCE_LOCATION = 'animated_java:items/transparent'
18+
export const TRANSPARENT_TEXTURE_RESOURCE_LOCATION = 'animated_java:item/transparent'
1919
Project = OLD_PROJECT
2020

2121
export class TextureMap {

0 commit comments

Comments
 (0)