mojira.dev
MCPE-27577

/setblock error

typing /setblock ~ 1 ~ iron_ore the game will say it placed the block but it doesn't

Comments 6

/setblock ~ ~1 ~ iron_ore

/setblock ~ ~1 ~ iron_ore

As @unknown has already pointed out, your command is invalid.
The correct command to place an iron block one block above the executing entity/block is /setblock ~ ~1 ~ iron_ore, not /setblock ~ 1 ~ iron_ore.

"~" is the prefix for determining relative coordinates. That means that the number preceded by this prefix will be added to the absolute coordinates on the corresponding axis of the executor. (e. g.: /setblock ~ ~2 ~ stone will set a stone block two blocks above the executor, /setblock ~ ~-2 ~ stone will set it two blocks below.)

As @unknown has already pointed out, your command is invalid.
The correct command to place an iron block one block above the executing entity/block is /setblock ~ ~1 ~ iron_ore, not /setblock ~ 1 ~ iron_ore.

"~" is the prefix for determining relative coordinates. That means that the number preceded by this prefix will be added to the absolute coordinates on the corresponding axis of the executor. (e. g.: /setblock ~ ~2 ~ stone will set a stone block two blocks above the executor, /setblock ~ ~-2 ~ stone will set it two blocks below.)

Cleaning up old tickets: This ticket has not been updated recently (1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki

Cleaning up old tickets: This ticket has not been updated recently (1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki

Colin Martin Fred Trekofski

(Unassigned)

Unconfirmed

Windows

1.2.3.3

Retrieved