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

checking Dimension NBT data of entity does not return back correct value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: 1.16 Release Candidate 1
    • Fix Version/s: None
    • Environment:
      Windows 10
      Java 1.8.0_51 64bit
    • Confirmation Status:
      Unconfirmed
    • Category:
      Commands

      Description

      Running this command below in 1.15.2 would tp any player who is in the Overworld(Dimension:0) to the Nether at 0 64 0

      /execute in minecraft:the_nether as @a if entity @s[nbt={Dimension:0}] run tp 0 64 0
      

      Running this command above in 1.16 Release Candidate 1 will not produce any syntax errors and not tp any players to the nether at position 0 64 0

      Additional:
      Running this command below with the Dimension:0 removed will work as expected. i.e it will tp all players to the nether at position 0 64 0

      /execute in minecraft:the_nether as @a if entity @s[nbt={}] run tp 0 64 0
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              1999superboy@gmail.com Robert Loader
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: