Jump to content

Schematics


godbaba

Recommended Posts

You shouldn't need to use 27k world.setBlock invocations. You can use if statements, for loops, etc. and it will cut down drastically on that amount. I implemented a world-gen feature for my mod called Building Blocks that uses a new file to organize the blocks into a layer-by-layer format and reads them back later when the world is generating. I wouldn't say necessarily to use Building Blocks, but if you can't figure out how to use schematics (I didn't even want to bother), it might be a good alternative.

Link to comment
Share on other sites

You shouldn't need to use 27k world.setBlock invocations. You can use if statements, for loops, etc. and it will cut down drastically on that amount. I implemented a world-gen feature for my mod called Building Blocks that uses a new file to organize the blocks into a layer-by-layer format and reads them back later when the world is generating. I wouldn't say necessarily to use Building Blocks, but if you can't figure out how to use schematics (I didn't even want to bother), it might be a good alternative.

 

So what do you mean by building blocks ?

Is it a mod or what ?

Link to comment
Share on other sites

You shouldn't need to use 27k world.setBlock invocations. You can use if statements, for loops, etc. and it will cut down drastically on that amount. I implemented a world-gen feature for my mod called Building Blocks that uses a new file to organize the blocks into a layer-by-layer format and reads them back later when the world is generating. I wouldn't say necessarily to use Building Blocks, but if you can't figure out how to use schematics (I didn't even want to bother), it might be a good alternative.

 

With some code updating i made it work that you dude :)

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.