Mojira Archive
MC-122002

Wither boss bar doesn't update while in NoAI

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

Duplicate

Anthony Clark

2017-11-16, 05:16 AM

2017-11-24, 10:00 PM

2017-11-16, 07:05 AM

0

0

Unconfirmed

Minecraft 17w46a

-