Posted August 8, 201312 yr I managed to get a chunk at a specific location using world.getChunkProvider().provideChunk(x, z) What's the best way to paste that chunk into the world at any location? Do I loop all the blocks in the copied chunk and set the blocks at the target chunk location? Thanks.
August 8, 201312 yr I havent yet looked into how chunks exactly work internaly but you may be able to just overwrite the old chunk reference with a copy of the new one? Theres not much data here, so your best bet is to dive into the src code! Understanding the source will probably reveal several things to you and it will probably make you abel to determine the best vourse of action If you guys dont get it.. then well ya.. try harder...
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.