Posted October 15, 20169 yr Hey guys, this is just a rather small question, and I'm going to look like a noob. But whatever So I have been following an older guide (from 1.8.9) to make some custom slabs for my mod. But the guide used GameRegistry.registerBlock(block, itemClass, string), which I know is outdated. So my rather dumb question is, how do I register my slabs? Do I use some variant of GameRegistry.register(), or something completely different? Maybe there's a new way to add custom slabs, without using an itemclass in 1.10.2, that I don't know of?
October 15, 20169 yr Author Instead of using the registerBlock method that takes an ItemBlock class, you simply construct the ItemBlock yourself, set it's registry name to the same as the block's and register it like normal using GameRegistry.register . As I mentioned, it was a very dumb question Thank for your help, it did the trick
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.