Posted December 23, 201311 yr Hey! I was wondering, how do I add textures to blocks? I'm using 1.6.4 forge, latest one. I have the textures in the right place. I tried it out with items and it works. Can someone tell me the code please ?
December 23, 201311 yr setTextureName("modid:texturefile"); Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
December 23, 201311 yr Author setTextureName("modid:texturefile"); That doesn't seem to work for me. My modid is "darkgems" The file is named "darkgems.png" here is the code I used. darkb = new Darkblock(4002, "darkblock").setUnlocalizedName("dark_block").setHardness(1.5F).setStepSound(Block.soundMetalFootstep).setResistance(10.0F).setTextureName("darkgems:darkgem");;
December 23, 201311 yr "darkgems.png" setTextureName("darkgems:darkgem"); darkgem != darkgems Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.