mojira.dev
MC-150656

Command blocks not teleporting no matter what I try.

So I've been messing with command blocks in minecraft realms. I've been trying to set up teleporting up a couple of blocks, but no matter what code I try, it doesn't work. I've put red stone blocks all around it to make sure it wasn't an power issue. I've tried all types of lines to get this to work and it just isn't teleporting, I've tried simplified numbers (-216, 110, -11) and the exact numbers like in the screenshot, but it still won't work. I've set it up to have the pressure plate on top of the command block so that could also be partly wrong with it. Would like some insight on what I'm doing wrong here. 

Attachments

Comments 2

@s - }}Targets only one entity—the entity that executed the command, including dead players. *If the executor was not an entity, for instance if the executor was a command block or a server console, this selector will find nothing.* [Target selector arguments|https://minecraft.gamepedia.com/Commands#Target_selector_arguments] may be used to specify whether the executor is actually eligible to be targeted. For example, {{@s[type=cow,team=Red] will only target the executor of the command if the executor was a cow on team Red.

 

Source: https://minecraft.gamepedia.com/Commands

 

Pretty sure this isn't a bug?

 

Your command works when run from the player's chat.

Command blocks can't target anything by using @s without specifying the context using /execute.

Colin McCrystal

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.14

Retrieved