Posted December 21, 20231 yr Hello! I'm working on a Forge mod for 1.20.1 where I have a bunch of custom structures that I only want to generate in certain parts of the world. If I could make my custom biomes generate only within certain coordinate range, even better! For example, I have a custom "trading post" structure that I only want to generate between Z=0 and Z=-5000. I've tried messing around with creating a custom chunk generator, but I can't figure out how to actually register the chunk generator. I found in Fabric you can simply use: Registry.register(Registry.CHUNK_GENERATOR, new Identifier("wiki-example", "example"), ExampleChunkGenerator.CODEC); But in Forge the Registry object doesn't have a bunch of different registries to choose from, and the ForgeRegistries object doesn't have a chunk generator registry. Any help with this would be greatly appreciated!
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.