Posted May 4, 20232 yr When i trying to add background icon for empty slot in my gui it shows error texture, but all should work I'm so lost on this ._.
May 4, 20232 yr You can't just load any texture from the block atlas. The game has to have had a reason to stitch the texture into it, e.g. it is used by a block or item. Before 1.19.3 you can use this forge event to load additional textures, but Mojang changed how it worked in 1.19.3, it only load textures in textures/block or textures/item by default. https://github.com/MinecraftForge/MinecraftForge/blob/0ae63b0b07cd61c204383c6c59bd643e80a32c86/src/main/java/net/minecraftforge/client/event/TextureStitchEvent.java#L42 Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.