Jump to content

Recommended Posts

Posted

Is there a way to force a block placement (and not process any of those blocks) until all blocks have been placed ?

 

For example, if you are placing a crop down and there is no block under it (yet), is there a way to keep the engine from making it a harvested crop immediately until I tell it to process that block ?

 

Currently I can cut/paste chunks of map, but if the grabbed area contains something that requires another block next to it that hasn't been placed yet, the engine processes it immediately instead of when all the blocks around it have been put in place...

 

I would guess I would have to interrupt some event with a flag then reset the flag when the pasting is done.....

 

I don't keep an open mind lest someone try to fill it with garbage - Mark Twain

Posted

Thank you ! I figured that have to be an easier way than the byzantine ways I was hoping not to have to implement :D

 

For any future readers, flag value 2 fit the bill...

 

Also- had to place the blocks in 2 passes through the placement loops for things like torches etc to spawn properly..

 

1st pass by property isFullCube()

 

2nd pass by property !isFullCube()

 

Note: actually doors fail when you do the above. This seems to work:

 

1st- from bottom of selected cube to top- only blocks that are one blocklayer CUTOUT_MIPPED, or CUTOUT.

 

2nd- from top down to bottom of cube- blocks that are not FullCube

 

3rd- any left over (Top to Bottom)

 

I don't keep an open mind lest someone try to fill it with garbage - Mark Twain

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.