0

I'm trying to get the center of the map while generating it to know when to set the blocks... (To make a circle of pillars)

There's currently no way that I know that can get the center of the map while its generating chunks...

Any way of doing this?

SOFe
  • 7,867
  • 4
  • 33
  • 61
CortexPE
  • 31
  • 1
  • 6

1 Answers1

0

I think that this is the center:

(x: (1/2) * (max_x - min_x), y: (1/2) * (max_y - min_y), z: (1/2) * (max_z - min_z))
double-beep
  • 5,031
  • 17
  • 33
  • 41
Shaheryar Sohail
  • 573
  • 1
  • 5
  • 9