mojira.dev
MCPE-194135

Teleport fails when killing minecart or boat immediately and teleporting entity who's riding the minecart or boat

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

  1. Give yourself a command block or chain command block:

    give @s command_block
    give @s chain_command_block
  2. Place the command block and type

    kill @e[type=minecart]
  3. And then place the chain command block beyond the command block and type(in fact, any position can also reproduce)

    tp @s ~~2~
  4. 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.

YZBWDLT

(Unassigned)

1394446

Confirmed

Windows

Windows 11 24H2

1.21.62 Hotfix, 1.21.80.21 Preview

Retrieved