Topic category: Help with Minecraft modding (Java Edition)
After the release of 2021.1, you may have encountered a problem end-like generating worlds. Flying islands were generated so infrequently that even in creative mode you sometimes had to look for them for a long time. Here's how to fix these worlds:
1. Click on your dimension in Mcreator and choose third file with path src\main\resources\data\<your_mod_id>\dimension\<your_dimension_id>.json
2. Find thid part of code.
3. Replace this code from this:
"noise": {
"density_factor": 2,
"density_offset": 0,
"simplex_surface_noise": true,
"random_density_offset": false,
"island_noise_override": true,
"amplified": false,
"size_horizontal": 10,
"size_vertical": 1,
"height": 128,
"sampling": {
"xz_scale": 100,
"y_scale": 1,
"xz_factor": 100,
"y_factor": 100
},
"bottom_slide": {
"target": -30,
"size": 10,
"offset": 5
},
"top_slide": {
"target": -3000,
"size": 64,
"offset": -46
}
},
The end result:
Thanks you, same problem was!!
End-like settings reflect vanilla settings.
What is the source of these custom settings, or is it manually tweaked? We wanted to keep settings as close to vanilla as possible.
I experimented with the noise and made this generation myself, as close to the old one as possible. Vanilla generation after the release of 2021.1 for some reason began to generate islands very rarely, which in survival would be very difficult, if not impossible, to pass such worlds.
I tryed this on a dimension without a portal but a block you can click on to enter. For some reason it doesnt work with changed generation, is it because i lock the code? Idk how to fix it.
i tried this but my dimension wouldnt load into minecraft at all, like i couldnt even target the registery, does the dimension have to have a portal?
Was this patched out? Since the two above me and myself seem to have been locked out of the dimension and the moderator was saying how they wanted to keep the mods as vanilla as possible... which sounds weird.
With much fiddling, I got the above code to work. I also had trouble with the dimension locking up/not loading at all. I added "min_y" back because it was missing and I didn't know how it would affect it. However, through trial and error and a little digging, I finally got my dimension to load in. BUT only if "size_horizontal" is 4 or less. Anything over 4 and it won't load at all, just a broken portal.
I hope this unbreaks your portals, friends.
For those also fiddling with this, these links were incredibly helpful.
https://minecraft.fandom.com/wiki/Custom_world_generation#Noise_settings
https://gist.github.com/misode/b83bfe4964e6bf53b2dd31b22ee94157
does not work for me the portal does not work, the game crashes or the dimension is completely empty
Making that change can't access the dimension, some of the values corrupt it
I Put that and that corrupted My Mod Client And crashes if i create my world