Posted November 2, 20177 yr I´ve created a block in a test mod and it won´t register. I´ve tried many things but I cant get it to be registered. Why??? Heres my main class: https://pastebin.com/z01Kcbmk , my ClientProxy: https://pastebin.com/fBVMeyDn , my class where I register my blocks: https://pastebin.com/tvfZdAEh aaaand my block class: https://pastebin.com/hZMW36w3 I would appreciate any help
November 2, 20177 yr I wouldn't start my modid with numbers. I see you have a proxy setup, but your main mod pre/init methods never call the proxy methods. *edit: Ok, my bad, as I see you're trying to use the registry events. I don't see you registering the subscribed methods to the event bus, or annotating the class with the @Mod.EventBusSubscriber. That is likely your problem. Keep in mind that your main class never calls any proxy methods, so even if you get the events working, any of the preinit/init code will still not ever run. Edited November 2, 20177 yr by Ugdhar Correction
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.