mojira.dev
MC-81075

Teleporting entity after summoning does not update client side position

Relates to:

The bug

Teleporting an entity that was just created (in the same tick the teleport command runs) causes the entity to be still displayed for the client at the position where it has been summoned.

However trying to punch the entity or interact with it in any other way will not work as the entity visible for the client is not really at that position.
This can be reproduced by using the following compacted command:

Example Command 1 (Compacted).txt

/summon MinecartCommandBlock ~ ~1 ~ {Command:/setblock ~ ~-4 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:"",Riding:{id:MinecartCommandBlock,Command:"/execute @e[type=ArmorStand,name=C] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:Here is C,CustomNameVisible:1,NoGravity:1}",Riding:{id:MinecartCommandBlock,Command:"/tp @e[type=ArmorStand,name=C] ~ ~5 ~
",Riding:{id:MinecartCommandBlock,Command:"/tp @e[type=ArmorStand,name=C] @e[type=ArmorStand,name=B]
",Riding:{id:MinecartCommandBlock,Command:"/execute @e[type=ArmorStand,name=A] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:C,CustomNameVisible:1,NoGravity:1,Equipment:[{id:stone,Count:1},{},{},{},{}]}
",Riding:{id:MinecartCommandBlock,Command:"/summon ArmorStand ~-5 ~ ~ {CustomName:B,CustomNameVisible:1,NoGravity:1}
",Riding:{id:MinecartCommandBlock,Command:"/summon ArmorStand ~5 ~ ~ {CustomName:A,CustomNameVisible:1,NoGravity:1}
",Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Time:1,Block:activator_rail,Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:stone,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:/fill ~ ~-2 ~ ~ ~3 ~ air},Riding:{id:FallingSand,Time:1,Block:stone,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:/kill @e[type=MinecartCommandBlock,dy=6]}}}}}}}}}}}}}}}}

Linked issues

Attachments

Comments 3

I am unsure if this really duplicates MC-67695

[Mod] redstonehelper

Doesn't "/tp at high frequency (=with small delays) causing visual glitches" match your ticket?

This does not happen in 1.10 anymore

marcono1234

(Unassigned)

Community Consensus

Minecraft 1.8.7, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w39c

Retrieved