Posted January 10, 201411 yr Im back again. Im creating some custom slabs and have them doing all the jazzy connecting to make double slabs, dropping the single slabs when the double slab is broken and stuff I seem to be hitting the same issue that a lot of people have hit in regards to registering half slabs into the language registry (based on my looking around) but no one seems to have the answer. The normal way of: LanguageRegistry.addName(new ItemStack(CustomSingleSlabBlock, 1, 0), "Oak Slab(custom)"); LanguageRegistry.addName(new ItemStack(CustomSingleSlabBlock, 1, 1), "Spruce Slab(custom)"); doesnt work. I did find some references to using: LanguageRegistry.instance().addStringLocalization(); but i cant make metadata blocks work in this. I always get tile.blah blah.name ingame, its getting this from getFullSlabName in the blocks class, so my question is what is the correct way of registering a metadata halfslab into the language registry. LOL never mind just figured it out: LanguageRegistry.instance().addStringLocalization((myMod.CustomSingleSlabBlock).getFullSlabName(0)+".name", "My Custom Slab"); LanguageRegistry.instance().addStringLocalization((myMod.CustomSingleSlabBlock).getFullSlabName(1)+".name", "My Other Custom Slab");
January 10, 201411 yr Use language files. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
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.