#Can't find element 'minecraft:generic.max_health'

1 messages · Page 1 of 1 (latest)

fierce veldt
#

I'm trying to update a datapack from 1.20.4 to 1.21.1 and im running into this issue. Can someone help?
This is the command that throws this error:

attribute @e[type=minecraft:ender_dragon,limit=1] minecraft:generic.max_health base set 500

this is NOT my datapack, it's a datapack i found which I'm trying to update myself
Thanks!

willow pumice
#

try: minecraft:max_health

#

they removed the generic. bits while ago, and it is probably your iaauw

fierce veldt
willow pumice
#

essentially, yes

fierce veldt
#

alright bet

lime crown
#

Just in attributes, not in playsounds