1
1.5 item textures
Someone help the modloader override proccess no longer works with 1.5 please help
What to do?
package net.minecraft.src;
import java.util.Random;
public class mod_NAME extends BaseMod
{
public static final Item NAMEhere = new ItemNAME(2085).setItemName("NAME");
public void load()
{
NAMEhere.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/pic.png");
ModLoader.addName(NAMEhere, "Ingame -Name");
}
public String getVersion()
{
return "3.14159265";
}
}
What to do?
Create an account or sign in to comment.
7
1
Hmm ths is weird.
1
Ok i figured it out in our ItemNAME.class we put this
public void func_94581_a(IconRegister iconRegister)
{
iconIndex = iconRegister.func_94245_a("TEXTURENAME");
}
1
ModLoader is the
1
Thanks!
But i just figured out that i just need to rgister the texture alone instead of adding modloader override
But i just figured out that i just need to rgister the texture alone instead of adding modloader override
1
Personally, I prefer minecraft forge. Im not too sure about Modloader, but with forge you have to call a bit of an odd function to stich the texture together
For this to work, it must be a zip mod.
If your using Minecraft Forge, take a look here: http://www.minecraftforge.net/wiki/Icons_and_Textures
public void func_94581_a(IconRegister iconRegister)
{
iconIndex = iconRegister.func_94245_a("ModName:ItemNameasPNG");
}
For this to work, it must be a zip mod.
If your using Minecraft Forge, take a look here: http://www.minecraftforge.net/wiki/Icons_and_Textures
1
If you're trying to get to the items folder in the .jar, then you typed it wrong.
Minecraft's file location for textures in the items folder:
/textures/items/NameOfTexture.png
Minecraft's file location for textures in the items folder:
/textures/items/NameOfTexture.png
1
[/spoiler]