Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16.5] Custom noise type for datapack biome


ImNotJahan
 Share

Recommended Posts

I need to get a biome to generate in a very specific shape, and as far as I've found there isn't any way to change much about the generation noise from all the data files. So basically I was just wondering what classes are used for generating the noise and where they're registered so I can try and make a new noise type.

Link to comment
Share on other sites

there unfortunately no easy way to do this, the BiomeLayer is generate in the Layers class, if you want to modify the Layer you will need a custom one, you also need a custom BiomeSource (old: BiomeProvider), which you can set in the dimension.json file

Link to comment
Share on other sites

I couldn't really figure out how to do that, but I did find the ChunkGenerator class and tried to make my own class extending it, I have no idea how to register it though as that seems to be done inside of the ChunkGenerator class in a static {} thing (I'm not sure the proper name). So is there any forge registry for registering a ChunkGenerator

Link to comment
Share on other sites

Okay the repo of your mod makes a bit easier, as I already told you, you only need a custom BiomeProvider, you can then register the Provider in FMLCommonSetupEvent using the vanilla Registry system then you can replace this line with the ID of your BiomeProvider

Edited by Luis_ST
Link to comment
Share on other sites

Ah okay I now understand what you mean, and I feel like this'll be obvious but how do I register the provider? You say using the vanilla registry system but the only way I see one registered in the vanilla things requires arguments from something being executed

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.