mojira.dev
MCPE-25727

command error

the command (execute @p ~ ~ ~ detect ~ ~-2 ~ command_block 0 /spawnpoint @p ~ ~ ~) in a command block repeat, always active does not work and in command output a dialog "can not be set spawnpoint as the player (NAME OF PLAYER),is a spawnpoint system that is used in adventure maps, please check it out, greetings

Attachments

Comments 1

Thanks for your report! However, this issue works as intended.

I was able to make this work by correcting your command.

In this command you are trying to detect a "command_block 0" ("diamond_block 0" in the screenshot). The data value 0 for a command block means that it is pointing downward, but in the screenshot your command block is pointing to the side. If you change the data value to match the orientation of the command block it will work. You could also switch to using the diamond block, whose data value is always 0.

You can find a list of command block data values at this link on the Minecraft Wiki.

Francisco Javier vazquez perez

(Unassigned)

Unconfirmed

Phone - Android - Sony Xperia M

5.1

1.2.0.25

Retrieved