Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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?

  • Author

What do you mean? The mob?

It is a texture I am trying to add... It is a model, but I have seen it work using a texture file when I had it in my minecraft.jar

 

As for the armour... I am talking about when you wear the armour :P

Why bother?

  • Author

Anybody? I have watched tutorials, and all of them use the code I have. So I don't know if it is the texture locations or what :(

Why bother?

  • Author

THANK YOOOOOOOOOOUUUUUUU! I can't belive I didn't notice that... probably because I changed folders around *facepalms*

 

Now how about that armour?

Why bother?

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]

  • Author

Reason for that is minecraft uses the word armor, but I spell it armour in the file, because I made the file before the folder ;)

 

And yes, I do have them named as shown :P

Why bother?

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.