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

Certain commands within functions don't work on things in other dimensions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w01a
    • None
    • Unconfirmed

      from main tagged with #tick:
      #death and respawn effects
      execute as @a[tag=Unable to render embedded object: File (died,nbt=) not found.

      {DeathTime:0s}

      ] at @s run function g3mine:main/deatheffect
      execute as @a[tag=died,nbt=

      {DeathTime:0s}

      ] at @s run function g3mine:main/respawn
      #height as score and test voidfall
      execute as @a store result score @s height run data get entity @s Pos[1]
      execute as @a[scores=

      {height=..-64}

      ] at @s run function g3mine:main/voidfall

      Voidfall:
      teleport @p 0 255 0
      setblock 0 255 0 end_portal
      say i fell into the void somehow
      effect give g3david saturation 255 1 true
      tag @s add voidfall
      attaching respawn and deatheffect, too long to paste here,as well as the main and voidfall

        1. voidfall.mcfunction
          0.1 kB
        2. respawn.mcfunction
          3 kB
        3. main.mcfunction
          1 kB
        4. deatheffect.mcfunction
          0.6 kB

            Unassigned Unassigned
            g3david David Long
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: