TP Without Delay

Tp Entities To Moving Players Without Delay

Supported Versions:

1.21.10+26.2+

Commands by Row:

Row 1

1. [impulse] /scoreboard objectives add playerXNew dummy
2. [chain] /scoreboard objectives add playerXOld dummy
3. [chain] /scoreboard objectives add targetX dummy
4. [chain] /scoreboard objectives add const dummy
5. [chain] /scoreboard players set #3 const 3
6. [chain] /scoreboard objectives add playerZNew dummy
7. [chain] /scoreboard objectives add playerZOld dummy
8. [chain] /scoreboard objectives add targetZ dummy
9. [chain] /scoreboard objectives add playerYNew dummy
10. [chain] /scoreboard objectives add playerYOld dummy
11. [chain] /scoreboard objectives add targetY dummy

Row 2

12. [repeat] /execute as @a at @s run scoreboard players operation @s playerXOld = @s playerXNew
13. [chain] /execute as @a at @s store result score @s playerXNew run data get entity @s Pos[0] 1000
14. [chain] /execute as @a at @s run scoreboard players operation @s targetX = @s playerXNew
15. [chain] /execute as @a at @s run scoreboard players operation @s targetX -= @s playerXOld
16. [chain] /execute as @a at @s run scoreboard players operation @s targetX *= #3 const
17. [chain] /execute as @a at @s run scoreboard players operation @s targetX += @s playerXNew
18. [chain] /execute as @a at @s run scoreboard players operation @s playerZOld = @s playerZNew
19. [chain] /execute as @a at @s store result score @s playerZNew run data get entity @s Pos[2] 1000
20. [chain] /execute as @a at @s run scoreboard players operation @s targetZ = @s playerZNew
21. [chain] /execute as @a at @s run scoreboard players operation @s targetZ -= @s playerZOld
22. [chain] /execute as @a at @s run scoreboard players operation @s targetZ *= #3 const
23. [chain] /execute as @a at @s run scoreboard players operation @s targetZ += @s playerZNew
24. [chain] /execute as @a at @s run scoreboard players operation @s playerYOld = @s playerYNew
25. [chain] /execute as @a at @s store result score @s playerYNew run data get entity @s Pos[1] 1000
26. [chain] /execute as @a at @s run scoreboard players operation @s targetY = @s playerYNew
27. [chain] /execute as @a at @s run scoreboard players operation @s targetY -= @s playerYOld
28. [chain] /execute as @a at @s run scoreboard players operation @s targetY *= #3 const
29. [chain] /execute as @a at @s run scoreboard players operation @s targetY += @s playerYNew
30. [chain] /execute as @a at @s store result entity @e[tag=centerPos,limit=1,sort=nearest] Pos[0] double 0.001 run scoreboard players get @s targetX
31. [chain] /execute as @a at @s store result entity @e[tag=centerPos,limit=1,sort=nearest] Pos[2] double 0.001 run scoreboard players get @s targetZ
32. [chain] /execute as @a at @s store result entity @e[tag=centerPos,limit=1,sort=nearest] Pos[1] double 0.001 run scoreboard players get @s targetY

Preview

impulse
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
repeat
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain
chain

Video

Too lazy to copy and paste each command?