5

I have created an artificial village and I know its center point. In the minecraft wiki, I find this information about the spawing area of iron golems within a village:

The golem spawning zone is a 16×16×6 area centered around the center point of the village.

Village mechanics wiki article

However, it is not clear to me where exactly this area is. The village center point is, as I understand, a coordinate like block has. But a 16x16x6 volume does not contain a center block.

In the following image, which colored pixel would be the village center? (view from top on the left, view from the side on the right)

enter image description here

Or am I totally wrong and the area is distributed around the center point like in the following image? (again, view from top on the left, view from the side on the right)

enter image description here

4
  • Is it possible that the 'center point of the village' is not a single block, but in fact a 2x2 area i.e. all 4 colored pixels you've shown? Commented Dec 5, 2017 at 17:17
  • The center could be a x.0 coordinate, in that case you could go 8 blocks in all directions and have a regular cube, aligned with the block grid. Commented Dec 5, 2017 at 17:30
  • There's a mod called "village marker mod" that shows things like that, you could use that to find out. I would find the question how the center is calculated way more interesting. Commented Dec 5, 2017 at 17:32
  • If the center of a village is a single block, I suspect the iron golem spawning box is similar to monster spawners - the center is the lower x/y corner
    – phflack
    Commented Dec 5, 2017 at 18:37

1 Answer 1

2

The coordinate system of the Minecraft world isn't centered on blocks. Integer values of a coordinate axis (i.e. "1", "2", "3" and not e.g. "1.5") are exactly between blocks. The center of a block is always a coordinate of the form "n.5" (with n some integer number). So e.g. if x and z axis are both at integer values (e.g. x=4 and y=8), then this point is not within a block, but on the very boundary of a block and is shared among 4 blocks (their corners). If the y-axis would have an integer value as well, the point would be shared among 8 blocks.

Most of the times (always?) when people (e.g. at the wiki) talk about coordinates, they mean this coordinate system (shown on the F3 debug screen). So the center of your 16x16x16 area is a single point, not a block.

In the linked article it says:

Both the center point and radius are rounded to whole numbers; It is unclear if they round up, down, or to the nearest integer.

If this is true, then your center point is always a point that 8 blocks share with each other on their corners. From there you extend 8 blocks in each direction to get your spawning area.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.