Jump to content

Recommended Posts

Posted

public static void addCapes() {
    	String capeURL = "URL_TO_CAPE.com/cape.png";
    	String[] owners = {"hotrods20", "OtherUsernames"};
    	
    	ThreadDownloadImageData image = new ThreadDownloadImageData(capeURL, null, null);
    	
    	for(String username : owners)
    	{
    		Minecraft.getMinecraft().renderEngine.loadTexture(new ResourceLocation("cloaks/" + username), (TextureObject)image);
    	}
    }

 

Put that in your client side proxy.  Don't forget to put this.addCapes(); to your load method.

Sources of info:

http://www.minecraftforum.net/topic/2254009-164-forge-darkhaxs-modding-tutorials-how-to-add-capes/

EDIT: Learn to Google a bit before asking.

width=320 height=64http://www.slothygaming.com/img/ota.png[/img]

If your grammar is shit and you blatantly don't know what you're doing, I will not help you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.