mojira.dev
MC-279534

Display entities use interpolation duration value for teleport duration

Display entities seem to be using the interpolation_duration value rather than their teleport_duration value when teleported or rotated.

Steps to Reproduce:

  • Run commands

/summon item_display ~ ~1 ~ {interpolation_duration:20,Tags:["test"],item:{id:"minecraft:bricks",count:1}}
/summon item_display ~ ~1 ~ {teleport_duration:20,Tags:["test"],item:{id:"minecraft:clay",count:1}}
/execute as @e[tag=test] at @s run teleport @s ~ ~1 ~ ~45 ~

Observed Results:
Display entity with only teleport_duration value set snaps to new location immediately while entity with only interpolation_duration set travels smoothly based on the set value

Expected Results:
Entity with only teleport_duration set would move smoothly based on that value while entity with only interpolation_duration set would snap instantly to new location
 

Comments 1

LadyEternal

gegy

Community Consensus

Platform

Important

Commands, Entities

25w03a

25w05a

Retrieved