mojira.dev
MCPE-27061

/testfor command false syntax error

/testfor @p[r=5] {SelectedItem:{id:"minecraft:paper",tag:{display:{Name:"Item Name"}}}}
and every other variation I could find on the internet doesn't work. It's always the same error:

Syntax error: Unexpected "{": at "r @p[r=5] >>{<<SelectedIt"

This code works perfectly for PC

Comments 5

⚠️ Issues that concern Minecraft (Xbox One Bedrock version) should be posted on the Minecraft (Bedrock codebase) tracker. I have moved your ticket to the correct section.

I have the same issue. Xbox One. Bedrock edition. Attempting command /testforblock 378 171 68 chest -1 {Items:[{id:"minecraft:sapling"}]}

I get:
Syntax error: Unexpected "{": at "68 chest -1 >>{<<["

This happens in both command blocks and the console

I have the same issue. Xbox One. Bedrock edition. Attempting command /testforblock 378 171 68 chest -1 {Items:[{id:"minecraft:sapling"}]}

I get:
Syntax error: Unexpected "{": at "68 chest -1 >>{<<["

This happens in both command blocks and the console

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

Shanice Jade

(Unassigned)

Unconfirmed

Xbox

1.2.1.1

Retrieved