Description
As title, if you are riding a minecart or a boat, kill it by using /kill @e[type=minecart]
and teleport you immediately(like /tp @a 0 0 0
), you will be teleported to (0, 0, 0) and then pulled back to the position of the minecart. This progress can be done by using command blocks or functions.
How To Reproduce
Give yourself a command block or chain command block:
give @s command_block give @s chain_command_block
Place the command block and type
kill @e[type=minecart]
And then place the chain command block beyond the command block and type(in fact, any position can also reproduce)
tp @s ~~2~
Place a minecart on a rail, and ride into it. Then, launch these command block.
You will be teleported to the position of that chain command block, and pulled back to the rail. But in 1.20 or lower version, teleport could be done successfully, and players will not be pulled back.
Attachments
Comments 0
No comments.