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

Issue with detecting zombie's life using command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.4
    • None
    • Java
    • Unconfirmed
    • (Unassigned)

      Hello,

      I'm encountering an issue with a command in my Minecraft worlds. I've copied a command setup from my test world to two other worlds using structure blocks. The command setup works as expected in my test world, but it doesn't seem to function properly in the other two worlds.

      I'm using a command to detect the life of a zombie named Rotob'bot, which has been assigned the tag "MRTB". In my test world, this command correctly detects when Rotob'bot dies. However, in the new worlds, the command does not work as expected.

      I've confirmed that the "MRTB" tag is correctly assigned to Rotob'bot in the new worlds. There are no syntax or typo issues in the command.

      Below is the code of the system I'm using:

      [execute as @e[type=zombie,name="Rotob'bot] store result score @s HealthPercentage run data get entity @s Health 10]

      The issue appears to be specific to the new worlds, as the command functions correctly in the test world. I suspect it may be a bug in the game or an issue with world loading.

      I've attempted various troubleshooting steps, including resetting the tag and checking command permissions, but the problem persists.

      I wanted to report this issue to the Minecraft development team for further investigation. If additional information or screenshots are needed to diagnose the issue, please let me know.

      Thank you for your assistance.

      Best regards, Gamer Gourmon

      importent: This issue is critically important to fix as it severely disrupts our systems. Please don't hesitate to test if you encounter this specific problem.

        1. bug2.png
          bug2.png
          855 kB
        2. bug3.png
          bug3.png
          1.09 MB
        3. testbug1.png
          testbug1.png
          1.91 MB

            Unassigned Unassigned
            gourmon gourmon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: