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

Wither boss bar doesn't update while in NoAI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w46a
    • None
    • Unconfirmed

      The wither's health updates when I damage the pig, I can tell bc when I kill the pig the with dies, but the boss bar doesn't update

      Run Once:

      /execute unless entity @e[type=pig,name="Ultimate Pig"] run summon pig ~ ~1 ~ {CustomName:"Ultimate Pig"}
      /execute unless entity @e[type=wither,name="Ultimate Pig"] run summon minecraft:wither ~ ~1 ~ {NoAI:1,CustomName:"Ultimate Pig"}
      

      Run Repeating:

      /execute store result entity @e[type=wither,limit=1,name="Ultimate Pig"] Health int 1.0 run data get entity @e[type=pig,limit=1,name="Ultimate Pig"] Health
      /execute store result entity @e[type=wither,limit=1,name="Ultimate Pig"] Attributes[0].Base double 1.0 run data get entity @e[type=pig,limit=1,name="Ultimate Pig"] Attributes[0].Base
      

            Unassigned Unassigned
            GamerTurtle5 Anthony Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: