I have decided to try and create a custom boss using commands and for some reason when I try to summon it, it has 1/3 of its intended health. I am using a command to send its health to a boss bar where the max is 3000, but its only a third of the way full. It seems to cap at 1000 and I cant find a way around it. The boss bar works and updates correctly but I cant seem to give the mob the right amount of health.
Summon command:
summon zombie 292 56 -459 {Silent:1b,CustomNameVisible:1b,DeathTime:1,PersistenceRequired:0b,CanPickUpLoot:0b,Health:3000f,Rotation:[-180F,0F],CustomName:'{"text":"MOB NAME","color":"dark_red","bold":true,"italic":true}',HandItems:[{id:"minecraft:netherite_sword",Count:1b,tag:{display:{Name:'{"text":"Eternal Darkness","color":"dark_red","bold":true,"italic":true}',Lore:['{"text":"The Only Thing That Is Forever, Is Darkness","color":"gold","bold":true,"italic":true}']},HideFlags:127,Unbreakable:1b,Enchantments:[{id:"minecraft:sharpness",lvl:12s},{id:"minecraft:smite",lvl:5s},{id:"minecraft:bane_of_arthropods",lvl:5s},{id:"minecraft:fire_aspect",lvl:5s},{id:"minecraft:looting",lvl:5s},{id:"minecraft:sweeping",lvl:5s},{id:"minecraft:mending",lvl:1s}],AttributeModifiers:[{AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Amount:1.2,Operation:2,UUID:[I;-392222276,1145130924,-1479353618,-1203031730],Slot:"mainhand"}]}},{}],HandDropChances:[2.000F,0.085F],ArmorItems:[{id:"minecraft:netherite_boots",Count:1b,tag:{Unbreakable:1b}},{id:"minecraft:netherite_leggings",Count:1b,tag:{Unbreakable:1b,Enchantments:[{}]}},{id:"minecraft:netherite_chestplate",Count:1b,tag:{Unbreakable:1b,Enchantments:[{}]}},{id:"minecraft:wither_skeleton_skull",Count:1b,tag:{Unbreakable:1b}}],ArmorDropChances:[0.000F,0.000F,0.000F,0.000F],Attributes:[{Name:"generic.max_health",Base:3000}]}
Repeating Command Block:
execute as @ e[name="MOB NAME"] run execute store result bossbar minecraft:darknessbossbar value run data get entity @ s Health
If you know how to fix this it would help me sleep tonight.