Hi there, I'm a vet very new modder, as in, I just started today, and I added a new ore and a new ingot successfully, but when I move my mouse pointer over the bloats or the ingot, a purple bar appears where the name of the object should be displayed.. What am I doing wrong? By the way, sorry if this is in the wrong category or anything, I just made my account not too long ago and this is my first post...
Only problem is that since it's an ore, it doesn't have a class... For instance, the Iron Ore block doesn't have a class.. It's specified by the class: BlockOreI just wrote another line of code in Block.java:
public static final Block oreTin = (new BlockOre(159)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreTin");
That added the ore block to minecraft successfully, and I wrote another similar line of code in Item.java to make the ingot...
@Override
public String getItemStackDisplayName(ItemStack itemStack)
{
return x;// x = the name you want to display
}
Where do I put that code? I'm doing this through MCP so, with the notepad files like block.java and stuff like that..
Only problem is that since it's an ore, it doesn't have a class... For instance, the Iron Ore block doesn't have a class.. It's specified by the class: BlockOreI just wrote another line of code in Block.java:
public static final Block oreTin = (new BlockOre(159)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreTin");
That added the ore block to minecraft successfully, and I wrote another similar line of code in Item.java to make the ingot...