[/color][/size][/font]Remove all of that color crap, I don't know how that got there...
but replace your code with
EmeraldSword.setUnlocalizedName("swordEmerald");
and make sure your texture is in minecraft.jar -> textures -> items
I have made ores generate in the past, but it stopped working since the 1.5.1 update. Here's my code- (It's in the mod_*** class)
public void generateSurface(World var1, Random var2, int var3, int var4)
{
for (int var5 = 0; var5 < 5; ++var5)
{
int var6 = var3 + var2.nextInt(16);
int var7 = var2.nextInt(48);
int var8 = var4 + var2.nextInt(16);
(new WorldGenMinable(oreBronze.blockID, 17, Block.stone.blockID)).generate(var1, var2, var6, var7, var8);
}
}
I have a BlockBronzeOre class and I've compared the methods from 1.5.1 to 1.4.7. They stayed the same, but I've noticed this method isn't even being called, even though it is in the BaseMod.class. Any help would be greatly appreciated.
It's best possible in Minecraft 1.5. You can do it without ModLoader, but you need to edit base classes. Just copy some code from Block.grass or something.
0
0
0
That will make it invincible.
0
0
0
0
0
[/color][/size][/font]Remove all of that color crap, I don't know how that got there...
but replace your code with
EmeraldSword.setUnlocalizedName("swordEmerald");
and make sure your texture is in minecraft.jar -> textures -> items
0
0
It only works for blocks, i.e.
0
0
I have a BlockBronzeOre class and I've compared the methods from 1.5.1 to 1.4.7. They stayed the same, but I've noticed this method isn't even being called, even though it is in the BaseMod.class. Any help would be greatly appreciated.
1
Then go into EntityPlayerSP.java and put this code under the updateEntityActionState method
0
0
For items, remove the .addOverride method. Instead, put Put the texture in minecraft.jar -> textures -> items. That will fix your problem!