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

Impossible to /tp an entity with NoGravity instantly when summoned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.9.2, Minecraft 1.9.3, Minecraft 16w20a
    • None
    • Unconfirmed

      1.Place 2 commands blocks and active them during the same tick:
      /summon ArmorStand ~ ~1 ~
      /tp @e[type=ArmorStand,c=1,r=5] @p

      It works perfectly, the entity is summoned and teleported to the nearest player.
      2.Kill the ArmorStand.

      3.Now, add the tag NoGravity to the entity when you summon it.
      /summon ArmorStand ~ ~1 ~

      {NoGravity:1}

      /tp @e[type=ArmorStand,c=1,r=5] @p

      The entity is summoned but not teleported.
      When you disconect/reconect the game, the entity is teleported to you.

        1. s1.png
          s1.png
          120 kB
        2. s2.png
          s2.png
          174 kB
        3. s3.png
          s3.png
          126 kB
        4. s4.png
          s4.png
          202 kB

            Unassigned Unassigned
            EmileBot EmileBot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: