mojira.dev
MC-69990

Max dirt height defaults to 256 in Customized world (max world height is 255)

The bug

In the second page of the customized world creation menu, the default max height for dirt and gravel patches is 256, but once you change it, you can't put it back there - the slider stops at 255.

How to reproduce

  1. Go to the second page of the customized world creation menu.

  2. Change the max height for dirt or gravel.

  3. Try to put it back to 256. You can't do it manually, but only through the Defaults button.

Most probably the default value is wrong, since the block grid ranges from 0 to 255, and not from 1 to 256 - this means that there's not actually a block layer in Y=256. You can check that by trying to set a block in layer 256.
Example: /setblock ~ 256 ~ stone will return Cannot place blocks outside of the world.

Linked issues

Attachments

Comments 7

Confirmed.
Most probably the default height 256 is wrong.

Resolved MC-60383 to this ticket.

Using a piston to push a block to 256 is possible, as is using the fill command to place a block at 256.
When trying to place a block on top of that block, a message appears: "Height limit for building is 256 blocks"

@unknown, that's because the layer 255 is protected. The only way of putting blocks there is via pistons, or commands, or if they were generated naturally. There are a lots of tickets that treats about this, like MC-11211, [MC-33450] and [MC-69878], but this one is not related to them as it treats about the slider, not the building height itself.

Confirmed for 15w43c.

Confirmed for 15w44a.

Invalid with removal of Customized worlds?

Bentroen

(Unassigned)

Confirmed

GUI, build-limit, customized-world-settings, menu, slider

Minecraft 14w34d, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre5, ..., Minecraft 16w39a, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12.2, Minecraft 17w50a

Retrieved