Jump to content

Overwriting chunks?


OrionDevelopment

Recommended Posts

Hello,

 

I am working on a new mod that allows users to store local copies of certain chunks and reload them on any given time. (Needed for a custom map)

 

Now my problems come with the reloading. I can get the system to save the chunk to a different location and create a new chunk object from that saved copy, but when i try to inject it into the world during runtime, it will not update the active world. Even if i use a coremod to so that i can write into the loadedChunkHashMap inside the chunkProviderServer the chunk is not injected properly.

 

Is there a way to inject the chunkdata (Blocks, metadata, NBT, Tiles etc.) into the active world without iterating through every block?

 

Thanks for your help in advance,

 

Orion

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.