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
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}
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.
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
is duplicated by 1
relates to 3
Attachments
Comments 5
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.
We do not have enough information to reproduce this issue.
Please include the following information to help us understand your problem:
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