Posted July 20, 201510 yr 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
July 20, 201510 yr Author Thanks ! Now to experiment with raytrace Vec3 stuff to get where the heck I'm looking at when replacing stuff... Fun times indeed..... I don't keep an open mind lest someone try to fill it with garbage - Mark Twain
July 20, 201510 yr 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
July 20, 201510 yr 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 ! 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.