Jump to content

Texturing mobs and armour


jordsta95

Recommended Posts

Hey there.. I am having issues getting the textures to work for amour and my mob.

 

Let's start with the mob:

The code I have:

this.texture = "/EverythingAndMore/textures/mob/Dragoone.png";

with the file location being exactly that, with the file exactly as I have spelled it above.

 

And now for the armour:

public String getArmorTextureFile(ItemStack itemstack) {

if(itemstack.itemID == Everything_and_More_Mod.DSHelmet.itemID || itemstack.itemID == Everything_and_More_Mod.DSBody.itemID || itemstack.itemID == Everything_and_More_Mod.DSBoots.itemID){

return "EverythingAndMore/textures/armor/DSArmour1.png";

}

 

if(itemstack.itemID == Everything_and_More_Mod.DSLegs.itemID){

return "/mods/EverythingAndMore/textures/armor/DSArmour2.png";

}

 

else return null;

}

 

With the body/boots and helmet being DSArmour1... and legs being DSArmour2... any other info you need just ask.

But both mob and armour render with the white missing texture file.

 

Thanks

-Jordan

 

Why bother?

Link to comment
Share on other sites

Why is the folder the american spelling yet the file the British spelling?

did you write the code/folder names accordingly?

Legend of Zelda Mod[updated September 20th to 3.1.1]

Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0]

Fancy Cheeses[updated May 8th to 0.5.0]

Link to comment
Share on other sites

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.