1

Coding - Armor with same textures :O

N0Mana 1/25/13 8:19 pm
201
1/27/2013 4:27 am
Hello everyone,

Coding - Modloader

yesterday got a problem in coding with minecraft:

i made two different armors but only 1 texture shows up.
example:

icons are different butwhen i wear them both looks the same

1 = green armor
2 = blue armor

so this is what really happens:

when i wear 1 (green armor) it appears green on my body, BUT
when i wear 2 (blue armor) it still looks green! :O

Help me please! i really need help.

i think this is my problem:

ModLoader.addArmor("green);
ModLoader.addArmor("blue");

maybe because green loads first? if that is the problem then how am i gonna resolve this?
Posted by
N0Mana
Level 40 : Master Skinner
82

  Have something to say?

JoinSign in

4

IAmChosen
01/26/2013 7:43 pm
Level 36 : Artisan Modder
You didn't end your quotes in the first parameters string. Also, if you're trying to load images make sure to add the extension to the end and the full path beginning at your SRC folder.
1
N0Mana
01/27/2013 4:27 am
Level 40 : Master Skinner
lol "blue",and "green" are made up,
check bloodgem mod now
just found the answer to my questions by myself XDD
found it funny

BTW, Modloader.addArmor("green); is just an example typo error XDD
1
N0Mana
01/26/2013 6:22 pm
Level 40 : Master Skinner
what do you mean?
1
99razvan99
01/26/2013 3:27 pm
Level 21 : Expert Mountaineer
I think the problem is at import at all.
1

Welcome