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

Skeletons become passive when trying to modify attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w51a
    • None
    • Windows 64-bit
      Java Version 8
    • Unconfirmed
    • (Unassigned)

      I was trying to alter a skeletons attributes from a scoreboard so I wouldn't have to set the attribute to a specific base value repeatedly for each mob I want it to affect. I would use the following command to change a mob's max health attribute by storing the objective value into the base. However, when I used this command the skeleton just became passive and followed me around. I do this for the four zombie varieties as well but they dont have the same effect.
      They act as normal and simply attack.

      "execute as @e[tag=rpg] store result entity @s Attributes.[

      {Name:"minecraft:generic.max_health"}

      ].Base float 1 run scoreboard players get @s maxmobhp"

        1. Capture.PNG
          Capture.PNG
          12 kB
        2. skeletonbug.mkv
          9.42 MB

            Unassigned Unassigned
            Arafall55 Daniel Aaron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: