Jump to content

[1.7.10 and/or 1.12.2] Help Overriding/Disabling Chunk Generation


Lord Chocolate

Recommended Posts

I have recently started working on a mod in 1.7.10 (for compatibility with the Lord of the Rings Mod, though I would be fine with an answer compatible with 1.12.2) in which I plan to add a new dimension with extremely different terrain generation. I would like to implement 3-dimensional chunk loading (to allow a higher build limit), and a new way to save chunks that might require less hard drive space; however, the chunk generation classes (and all the classes that use them) use methods that access/find a chunk with only its x and z coordinates, so adding a third dimension to chunk loading seems to be impossible without massive code rewrites. If all those rewrites are required (as I expect), my question is: how/where should I link the new generation code into the game so that the original chunk generation/saving code doesn't interfere? I know 3D chunk loading has been done before: https://github.com/OpenCubicChunks/CubicChunks

However, their method seems to use normal chunk generation and add onto it, as opposed to completely replacing it.

Thanks in advance for any help! I have moderate experience with Java but am not that familiar with the tools Forge provides.

Edited by Lord Chocolate
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.

Announcements



×
×
  • Create New...

Important Information

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