1

Coding - Armor with same textures :O

N0Mana's Avatar N0Mana1/25/13 8:19 pm
1 emeralds 186 4
1/27/2013 4:27 am
N0Mana's Avatar N0Mana
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's Avatar
N0Mana
Level 40 : Master Skinner
82

Create an account or sign in to comment.

4

1
01/26/2013 7:43 pm
Level 36 : Artisan Modder
IAmChosen
IAmChosen's Avatar
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
01/27/2013 4:27 am
Level 40 : Master Skinner
N0Mana
N0Mana's Avatar
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
01/26/2013 6:22 pm
Level 40 : Master Skinner
N0Mana
N0Mana's Avatar
what do you mean?
1
01/26/2013 3:27 pm
Level 21 : Expert Mountaineer
99razvan99
99razvan99's Avatar
I think the problem is at import at all.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome