Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-81075

Teleporting entity after summoning does not update client side position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8.7, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w39c
    • None
    • Community Consensus

      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]}}}}}}}}}}}}}}}}
      

        1. Example Command 1 (Compacted).txt
          3 kB
          Marcono1234
        2. Example Command 1 (Raw).txt
          1 kB
          Marcono1234
        3. Example Command 2 (Compacted).txt
          4 kB
          Marcono1234
        4. Example Command 2 (Raw).txt
          1 kB
          Marcono1234

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: