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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 18w01a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
    • Confirmation Status:
      Unconfirmed

      Description

      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

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: