If you use the command
/tp @e[type=Witch,c=1] ~ ~1 ~
in versions before 16w21a (Not sure about 16w20a), it will, as expected, teleport the nearest witch up by one block.
However, if you use the same command in 16w21a, the result will be different;
The nearest witch will be teleported one block above the player. The witch will also teleport to the same rotation the player is looking.
This effect does not occur with command blocks.
Fix for now
Use the /tp command after an execute command directed to the entity you want teleported.
This feature was wanted for quite a while, but I'm very certain not in this form, as it breaks things completely.
Linked issues
is duplicated by 1
Comments 14
Aw, come on! I was so ready for it to be fixed... That's really weird though, and annoying. I mean, what if you have a long name for the entity, then the entire command won't fit into the chat.
That still makes the process longer. Much longer. You used to be able to easily position entities, now you have to write a much longer command.
That the command has to be made much longer, and that you want it implemented differently doesn't make it a bug.
Sorry, but this is definitely intended behaviour as of now.
As I said, yes, that's a feature a big part of the community has been wanting for a lot of time, but we didn't want it to always happen. Just something like "/tp @e[type=Witch] @p ~ ~1 ~". Also, you're the only one who said this is intended and you have yet to send any proof.
The old behavior of /tp being relative to the entity that's teleported was incorrect, relative coordinates are always relative to the command executing entity (or block), so this is now working as intended. Teleporting entities relative to their current position can be achieved using the /execute command.
@unknown, it's still there because it's not a bug, it's an intended change, a feature. See Searge's comment above.
Not for much longer! https://twitter.com/SeargeDP/status/737975391885905920 😃
This was the change made to relative coordinates in 16w20a, use /execute.