I searched for some tutorials on the subject, and they all tell me to do something like this:
TextureManager e = Minecraft.getMinecraft().renderEngine;
e.bindTexture(new ResourceLocation(TheOnePower.MODID, "textures/gui/spirit.png") );
Tessellator t = Tessellator.instance;
t.startDrawingQuads();
t.addVertexWithUV(0, 0, 0, 0, 0);//bottom left texture
t.addVertexWithUV(0, 64, 0, 0, 0);//top left
t.addVertexWithUV(64, 64, 0, 1, 1);//top right
t.addVertexWithUV(64, 0, 0, 64, 0);//bottom right
t.draw();
But there's nothing happening. What's wrong in here?