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

Spectators Spectating are not detected correctly by command blocks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Incomplete
    • Affects Version/s: Minecraft 1.8.7
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      java 1.8, vanilla
    • Confirmation Status:
      Unconfirmed

      Description

      if you have a spectator enter to spectate an entity, and the entity moves (in this case via tp, not tested in other ways), if you try to:
      (x1/y1/z1 = the pos where you started spectating, x2/y2/z2 = the pos where you are now)

      /execute @a[x1,y1,z1,r=2,m=3] ~ ~ ~ /say oldpos
      /execute @a[x2,y2,z2,r=2,m=3] ~ ~ ~ /say newpos
      

      if you put that on a command block:

      • it will always output [name] oldpos

      if you type that on chat:

      • it will always output [name] newpos

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              pablete1234 Pablete 1234
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: