Jump to content

[1.7.10] Regenerate Chunks in Game Help


bears

Recommended Posts

I want to regenerate some chunks in my world. I don't particularly want to stop the server, download the world files, open them in MCEdit, delete the chunks, upload the files again, and restart the server.

 

My solution was to use the ICBM rejuvenation missiles. Turns out those don't exist in the 1.7.10 version.

 

Because ICBM 1.6.4 is open source I figured it would be fairly simple to create a block with the code from ICBM that, when placed, regenerates the chunk it's in. Creative only, of course.

 

The code works in my development environment, but get the following error on both the server and client in singleplayer and multiplayer.

 

[java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.ClassCastException: net.minecraft.world.chunk.EmptyChunk cannot be cast to net.minecraft.world.chunk.IChunkProvider

 

You can see the ICBM code here. The regeneration code is identical, the only difference is I have placed the code in my regeneration block's onPlacedBy() method.

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.