I’m trying to make a GUI mod for Minecraft using MCP 6.2 and Eclipse. The GUI (so far)
consists of the drawDefaultBackground and a textured rectangle. The problem is that whenever I try out the mod, the textured rectangle is white and says MISSINGTEXTURE. I tried redirecting to a default texture like the /gui/furnace.png and it works normally. Any newly added textures give this problem, even if I copy an existing texture with a new name.
The texture I want to display is in the following directory in the MCP file:
mcp\jars\minecraft.jar\bliskcraft\BCGUI.png
This is the texture:
https://i.stack.imgur.com/Vktv5.png
and finally my code:
mod_BliskCraftGui.java:
Code removed
BliskCraftGui.java:
Code removed
If anyone knows how to check if the player is playing online or single-player, and if online, which server, please add that to your answer. Thanks
Nevermind, I found out that I should put the resources in the
/mcp/eclipse/bin/client/and the/mcp/bin/minecraft/folders.