Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.8][SOLVED] Proper way to remove blocks from the world and replace with others

Featured Replies

Posted

Simple noob here (1st post)....

 

I've been searching for the proper (if there is one) way of removing blocks (say 3x3x3 blocks at the cursor) and replacing them with other blocks (some may be the same, some might not) using all vanilla (in game) blocks...

 

I've got the basic stuff down (mod structure etc) now I'm getting to the nitty-gritty of actually doing STUFF to the world....

 

Any help would be appreciated (code snippets would be best)......

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

  • Author

Thanks ! Now to experiment with raytrace Vec3 stuff to get where the heck I'm looking at when replacing stuff...

 

Fun times indeed..... :D

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

  • Author

Yet another stupid question on the same topic...

 

Do I set the area where I'm placing the blocks to "AIR" so that the ones I'm placing overwrite any of the non-air ones that are there ?

 

If not what is the proper process to replace blocks that already exist (e.g. non-air blocks) ?

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

  • Author

Sweet. Seemed I was getting some wierd stuff when I replaced some generated villages then dug through them to see if it was replacing stuff or just air, but I can't seem to repeat it now for some reason......

 

Seems to be working right now though....

 

Onward ! :D

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...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.