Jump to content

Custom dimension and chunk generator errors


insertmemehere

Recommended Posts

Hi everyone. I was following McJty's tutorials on custom world generation tutorial for 1.18.2. The dimension is set up just fine but when I try to set its chunk generator type to the custom ones registered, I get two different errors depending on whether I join a new or old world. I made sure with print statements the registry of the chunk generator existed and the path matched the one in the JSON files and everything is fine. I thought the problem was with the codec of the generator class but even using the built in codecs from NoiseBasedChunkGenerator in registering my own led to the same error. 

Error trying to create a new world: leads to safe mode or back to title screen buttons.

debug.log

Eclipse output log

 

Error trying to load chunks in custom dimension in a previously working world:

debug.log

Here it's flat ocean when I go to unloaded chunks in the dimension I made.

 

Mod files here (GitHub). Including the custom biome source in the dimension JSON file resolved the ocean issue but it's not the intended chunk generation. The files to look at are probably DimensionInit (init package), ChunkGen, and BiomeProvider (world/biome package)

Any help would be greatly appreciated, as well as any bad habits to break if seen. I'm new to coding with forge but not coding in general.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.