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

/execute in (dimension) not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.13-pre6
    • None
    • Windows 10. Java args: java -server -d64 -Xmx3G -Xms1G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar server.jar nogui
    • Unconfirmed

      I have been converting commands from 1.12.2 syntax to 1.13 syntax over the past few days. Everything is going well until I hit this point.

      I have this command running:

      "execute in the_nether run tag @p add inNether"

      Which seems to work properly. However, in the same function file I have another command:

      "execute in overworld run tag @p remove inNether"

      Which runs even if the player is in the Nether. This breaks the ability for me to properly track players moving between the Nether and Overworld, which some of my features use to operate correctly.

      EDIT: "execute in the_nether" also runs at a player in the overworld too... almost as if the dimension selector is irrelevant to where the commands will run at all.

       

      It used to be this in 1.12.2:

      "scoreboard players tag @p add inNether {Dimension:-1}"

      to tag only people who are in the Nether.

            Unassigned Unassigned
            I3ladeDragon Nikolas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: