Posted November 29, 20204 yr Please help My Deferred Registries are deprecated and now my blocks and items are "missing" Does anyone know how to fix it? If so that would be greatly appreciated
November 29, 20204 yr Show your code Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
November 29, 20204 yr Use the factory method provided inside the class to create a DeferredRegister. While the default constructor is deprecated in 1.15.2, this doesn't mean you can't use it, just it has been made not accessible in the latest versions. That's why the DeferredRegister class provides a factory method to get you an instance of the object. If you look inside the DeferredRegister class i think you can find out by yourself what is the method you need to use in order to avoid the deprecated constructor Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
November 29, 20204 yr Or read the depreciation comment. 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.
November 29, 20204 yr Code Style #4. You have a class named BlockItemBase. It's useless and you can delete it. There is already a base class and it's called BlockItem. Edited November 29, 20204 yr by Danebi
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.