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);
Need to render the last screenshot taken by the player in the corner of the screen, is there any way I can get an image out of the mod .jar and render on the screen?
Is there a way to render a screenshot or any other file.png in a gui? I would use ResourceLocation, but it only renders files within .jar...
And another question, how do I get the list of players that are online on the server? Like for example tab auto-completing in chat?(CLIENT SIDE)
Important Information
By using this site, you agree to our Terms of Use.