[MCPE-21107] Tp command doesn't work in a command block Created: 09/Apr/17  Updated: 10/Apr/17  Resolved: 10/Apr/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.0.5.54, 1.1.0.1
Fix Version/s: None

Type: Bug
Reporter: Allan1905
Resolution: Invalid Votes: 0
Labels: None

Attachments: PNG File Screenshot_20170409-174140.png    
Confirmation Status: Unconfirmed
Platform: Phone - Android - Motorola Moto G

 Description   

The /tp command doesn't work in a command block but it works in chat



 Comments   
Comment by Daniel Lau [ 09/Apr/17 ]

It works in the chat because you are an entity that can execute and teleport. Blocks cannot teleport. Only entities. That is why you need to use a selector in command blocks.

Comment by Allan1905 [ 09/Apr/17 ]

Thanks it worked but in the chat it works without the @p

Comment by Halbrave [ 09/Apr/17 ]

Put the playername, @p or @a after the tp. Then it should work, but also that is not a bug. You just used the wrong syntax for the command.

Generated at Sat Jan 11 15:29:41 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.