mojira.dev
MC-296372

Teleport duration is unreliable as of 1.21.5

Teleport duration has a chance of failing its interpolation halfway through, beginning in 1.21.5

There is not really a workaround to this.

Steps to reproduce

  1. Use this command to summon a block entity with a teleport_duration set to 20 ticks:

    /execute align xz run summon block_display ~ ~ ~ {Tags:["test"],block_state:{Name:"minecraft:cyan_concrete"},teleport_duration:20}
  2. Then you can rotate the entity using a teleport or rotate command:

    /execute as @e[tag=test] rotated as @s run rotate @s ~180 ~
  3. Repeat this command multiple times.

Iโ€™ve also attached a small sample world with command blocks to reproduce this issue easily.

Observed result

The entity gets randomly stuck and doesnโ€™t finish the transition. Sometimes, when waiting a few seconds, the entity eventually does finish the rotation late.

Expected result

The entity should rotate 180ยฐ consistently in 1 second

Linked issues

Attachments

Comments 5

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:
1. (Explain what needs to be done for the issue to happen)
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach the needed commands in text form, including the commands to create example display entities.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues)
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

Iโ€™m also experiencing this bug, and Iโ€™ll share some more information to reproduce this issue.

Use this command to summon a block entity with a teleport_duration set to 20 ticks:

/summon block_display ^0.5 ^1 ^2.5 {Tags:["test"],block_state:{Name:"minecraft:cyan_concrete"},teleport_duration:20}

Then you can rotate the entity using a teleport or rotate command:

execute as @e[tag=test] rotated as @s run rotate @s ~180 ~

Repeat this command multiple times. The entity should rotate 180ยฐ consistently in 1 second, but instead, it gets randomly stuck and doesnโ€™t finish the transition.

Iโ€™ve also attached a small sample world with command blocks to reproduce this issue easily.

[media]

I can still reproduce this issue on 1.21.6-pre1 and 1.21.6-pre2

This issue makes teleport_duration with rotation unusable on 1.21.5, it would be awesome if this could be fixed for 1.21.6.

Also still reproducable on 1.21.6-pre3 and 1.21.6-pre4

@Matthias Thanks for the updates, report is yours now, so you can update affected versions yourself now ๐Ÿ™‚

Matthias

Shugoh

Confirmed

Platform

Important

Commands, Entities, Networking

1.21.5, 25w15a, 25w21a, 1.21.6 Pre-Release 2, 1.21.6 Pre-Release 4, ..., 1.21.7 Release Candidate 2, 1.21.7, 1.21.8 Release Candidate 1, 1.21.8, 25w31a

25w32a

Retrieved