Yes, the method should be static though.
You won't see any issues in a standalone, but with other mods it will bottleneck other features from generating due to how codecs are handled with unregistered objects.
I have the same questions. From what I gathered from this reply I made a ModFeatures class, where I register the ConfiguredFeatures, however how do I attach it to the BiomeLoadingEvent? I tried using the deferred registries the same way I did for blocks and items but it errors out because the block to generate isn't registered yet, even tho I am calling the register method in the Features Deferred Register after the Blocks Deferred Register
1. Create a ConfiguredFeature and register it (look at the Features class for examples).
2. Attach it via BiomeLoadingEvent (read the javadocs on the event as applicable to your situation).
Don't really wanna pump this thread but, what are those and how do you use them? I would really love to know that for a few mods that I am going to make
1
point
Newsletter
Want to keep up to date with all our latest news and information?