How to replicate:
1. place a command block which is constantly executing "/tp @e[type=Boat,c=1] ~1 ~ ~
"
2. summon any boat
3. get in
4. type "/tp @e[type=Boat,c=1] ~1 ~ ~
" in chat
You'll notice the command block isn't allowed to interact with the boat when a player is riding it, however, the player inside the boat is allowed to manipulate the boat by using the chat (/tp @e[type=Boat,c=1] ~1 ~ ~
) . Executing a command as the player inside the boat (/execute <player in the boat> ~ ~ ~ /tp @e[type=Boat,c=1] ~1 ~ ~
) doesn't work either. The same effect applies to /entitydata @e[type=Boat,c=1] {Motion:[0:0.0d,1:0.0d,2:1.0d]}
Causing a bit of lag by taking a screenshot sometimes results in the boat being teleported as long as the game is lagging
Linked issues
duplicates 1
Attachments
Comments 14
effects both riding and ridden entities, all entities are effected, stack one ontop of another, both won't be able to teleport, unless they are put off each other
It does not affect all ridden entities. Command Blocks were able to teleport the minecart / the horse whilst I was riding the cart/the horse, however, Command Blocks can not teleport a boat ridden by a player - only the player riding the boat can.
Uhm, I think my question
Does this work with ridden Minecarts and ridden Horses ?
wasn't that clear enough, so that I read your answer
It doesn't work with horses nor does it work with minecarts
like "it's not possible to tp ridden horses & minecarts" and not like "no, this bug doesn't affect horses nor minecarts"
Another hopefully helpful information:
if the player within a boat will be teleported with /tp @e[type=Boat] ~ ~2 ~2
or similar commands, all other players on the same server will see the player teleported to the given location, but the player in the boat doesn't receive any update and is still driving towards the wall.
I also tried it plugin-side to give the player, boat or both a velocity, similar effect like with vanilla tp.
In MC 1.9 or 1.9.1pre3 it works, BUT only when boat is in water.
I setupped CB with /tp @e[type=Boat,r=3] ~5 ~5 ~ , it works as expected on water , however if player in boat aproaches sliding on ice, it just fails to trigger (repeating commandblock keeps spamming succesful command even though the boat stays on old coordinates. When player disembark, both player and boat seems to be on teleported coordinates.
Video: https://youtu.be/2zbcqL1fe8I
Probably a dupe of MC-44589
Does this work with ridden Minecarts and ridden Horses ?
edit: Thanks