Posted May 30, 201213 yr For some reason my my metadata block started having problems with names. Whenever I use ModLoader.addname(), it will replace all the previous block's metadata. I also registered the block via ModLoader.registerBlock(BlockMachine[3], ItemUniversalMachine.class); It doesn't seem to work properly... http://calclavia.com/uploads/banner.png[/img]
May 30, 201213 yr ahh this is an easy one just change the names in the item as well. public String getItemNameIS(ItemStack itemstack) { switch(itemstack.getItemDamage()) { case 0: return "Skeleton2"; case 1: return "RedArcher"; case 2: return "BlueArcher"; case 3: return "EmptyItem"; case 4: return "RedGuard"; case 5: return "BlueGuard"; case 6: return "Red3"; case 7: return "Blue3"; case 8: return "Red4"; case 9: return "Blue4"; case 10: return "RedMage"; case 11: return "BlueMage"; } return "Blank"; } Also might want to try this with it ModLoader.addName(new ItemStack(CardSpawn, 1, 0), "Skeleton2"); http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
May 31, 201213 yr Author OH right. I had an error there. Thanks for finding it for me http://calclavia.com/uploads/banner.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.