is it possibe to move a 30x30x30 area up by 50 blocks? (preferably in one procedure)

Started by Funlax on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is it possibe to move a 30x30x30 area up by 50 blocks? (preferably in one procedure)

As the title says, is it possible to move a large area of my world up by 50 blocks?

And if it is, how?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There are 2 ways of doing…
Wed, 01/11/2023 - 17:50

There are 2 ways of doing this:

1. I would recommend adding World Edit as an dependency and emulate some WE commands.

2. Painfully check every block and then painfully place every block checked.

Might be an other way (doubt it) but those are the only ones I know of though...

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how would i get worldedit to…
Wed, 01/11/2023 - 21:51

how would i get worldedit to work with mcreator?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is a pseudo-code... Try…
Thu, 01/12/2023 - 10:49

Here is a pseudo-code... Try translating this piece of code to MCreator's Procedure.    

for (int x = -15; x < 15; x++) // loops in the x axis
{
	for (int y = -15; y < 15; y++) // y axis loop (up & down)
	{
		for (int z = -15; z < 15; z++) // z axis loop
		{
			// Get block inside loop and place it 50 blocks up
			SetBlockAt(x, (y + 50), z, getBlockAt(x, y, z));
			
			// Sets old block at xyz inside loop to AIR
			SetBlockAt(x, y, z, AIR);
		}
	}
}