When using commands to summon a mob or make a spawn egg for a mob with attributes that exceed that of the mob's vanilla stats (At least Health and Damage) it does not apply them, and rounds it back to the mob's vanilla statistics. It works properly when reducing them though (Example: You can make a 5 health 1 damage wither skeleton, but not a 50 health 20 damage one).
Linked issues
duplicates 1
Comments 3
Not working on /summon or /give, minecraft 1.16.1
Example command :
/summon minecraft:horse ~ ~1 ~ {Health:50,Attributes:[{Name:"generic.maxHealth",Base:50}
,{Name:"generic.movementSpeed",Base:10f},{Name:"horse.jumpStrength",Base:2f}],SaddleItem:{id:saddle,Count:1},Tame:1}
/give @p horse_spawn_egg{EntityTag:{id:"minecraft:horse",Health:50,Attributes:[{Name:"generic.maxHealth",Base:50}
,{Name:"generic.movementSpeed",Base:10f},{Name:"horse.jumpStrength",Base:2f}],SaddleItem:{id:saddle,Count:1},Tame:1}}
Logs :
[Server thread/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'generic.maxHealth'
[Server thread/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'generic.movementSpeed'
[Server thread/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'horse.jumpStrength'
See MC-178297
Please provide the exact command used