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

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16 Release Candidate 1
    • Windows 10
      Java 1.8.0_51 64bit
    • Unconfirmed
    • Commands

      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
      

            Unassigned Unassigned
            1999superboy Robert Loader
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: