I wanted to know a way to render a player's head, I used the code below, but it takes the texture of the player, I just need the head ...
ResourceLocation mResourceLocation = ((AbstractClientPlayer) Minecraft.getMinecraft().thePlayer).getLocationSkin();
Minecraft.getMinecraft().getTextureManager().bindTexture(mResourceLocation);
drawModalRectWithCustomSizedTexture((posx-removeMp), posy, 0, 0, 32, 32, 32, 32);