I have an image file in src\main\resources\assets\forgehax and im creating a ResourceLocation as
private ResourceLocation waifu = new ResourceLocation("forgehax","image.png");
and when i use it the code I do
GlStateManager.pushMatrix();
MC.renderEngine.bindTexture(waifu);
drawTexturedModalRect(topX, topY, 100, 100);
GlStateManager.popMatrix();
but in the game i get the purple and black texture which means the texture is missing
I've confirmed that "forgehax" is the correct modid and that the image extension is lowercase and ive read this post and I still have no idea why this doesnt work
What am I doing wrong?