Chibill Posted January 5, 2013 Posted January 5, 2013 I creat a block then have LanguageRegistry.addName(test_Block, "Test Block"); to registry its name but it does not resivve a name. Any help Quote
pemapanik Posted January 5, 2013 Posted January 5, 2013 Did you add .setBlockName("testBlock") to the public final static Block testBlock = new TestBlock(). Here is a snipit from ttp://www.minecraftforge.net/wiki/Basic_Blocks a good tutorial on minecraft forge's wiki by Havvy. public final static Block genericDirt = new GenericBlock(500, 1, Material.ground) .setHardness(0.5F).setStepSound(Block.soundGravelFootstep) .setBlockName("genericDirt").setCreativeTab(CreativeTabs.tabBlock); Quote
Chibill Posted January 5, 2013 Author Posted January 5, 2013 Yes I have that it won't show the name but on items it does! Quote
SuitedSlime Posted January 5, 2013 Posted January 5, 2013 You have it in your @Init, right? If so, post your code. We'll be able to help you not a little more then Quote
Recommended Posts
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.