Posted December 27, 20168 yr I have created a block with different meta data using enums and Im having trouble with it always placing the default block and I cant find the cause here's what I have http://pastebin.com/GEiRdhBX Any help would be appreciate thanks
December 28, 20168 yr Author please don't think me an idiot but Iv been following a tutorial and have no idea how to use ItemMultiTexture
December 28, 20168 yr Author NM i found the prob in the itemblock class i had public int getMeta(int damage) { return damage; } not public int getMetadata(int damage) { return damage; }
December 28, 20168 yr This is why we use @Override 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 28, 20168 yr please don't think me an idiot but Iv been following a tutorial and have no idea how to use ItemMultiTexture If it's the class I used, then ItemMultiTexture would already be an extension of ItemBlock. So, you can either declare your item block to be a new ItemMultiTexture or you may first extend ItemMultiTexture and then declare a new one of those. The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
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.