mojira.dev
MC-207620

Summoning a horse with NBT data sets its health to 53 and ignores attribute data

Whenever you use /summon for a horse, and provide NBT data in the command, like /summon horse ~ ~ ~ {Tame:1b}, it will spawn with 53 health, and it will ignore any data in the Attributes tag, i.e. {Attributes:[

{Base:0.3375,Name:"generic.movementSpeed"}

,{Base:20,Name:"generic.maxHealth"}]} will still spawn a horse with 53 health and a random movement speed

Comments 1

The max health attribute has been moved to "generic.max_health" rather than "generic.maxHealth" as you used.

user-4e86f

(Unassigned)

Unconfirmed

(Unassigned)

1.16.4, 20w49a

Retrieved