1

1.5 item textures

meganukebmp's Avatar meganukebmp3/17/13 5:51 am
1 emeralds 530 7
3/18/2013 1:21 pm
iChrille's Avatar iChrille
Someone help the modloader override proccess no longer works with 1.5 please help


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?
Posted by meganukebmp's Avatar
meganukebmp
Level 9 : Apprentice Sus
93

Create an account or sign in to comment.

7

1
03/18/2013 1:21 pm
Level 28 : Expert Prince
iChrille
iChrille's Avatar
Hmm ths is weird.
1
03/18/2013 1:19 pm
Level 9 : Apprentice Sus
meganukebmp
meganukebmp's Avatar
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
03/18/2013 3:23 am
Level 56 : Grandmaster Programmer
Hawaii_Beach
Hawaii_Beach's Avatar
ModLoader is the
1
03/18/2013 3:18 am
Level 9 : Apprentice Sus
meganukebmp
meganukebmp's Avatar
Thanks!
But i just figured out that i just need to rgister the texture alone instead of adding modloader override
1
03/17/2013 9:19 pm
Level 51 : Grandmaster Narwhal
Giraffestock
Giraffestock's Avatar
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


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
03/17/2013 8:30 pm
Level 66 : High Grandmaster Hero
sed11
sed11's Avatar
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
1
03/17/2013 8:27 pm
Level 1 : New Miner
DARIENCK
DARIENCK's Avatar
[/spoiler]
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome