-
Bug
-
Resolution: Fixed
-
20w15a, 20w20b, 1.16.1, 20w30a, 1.16.2, 1.16.4, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w08a, 21w08b, 21w15a, 1.17, 1.17.1, 1.18 Pre-release 1, 1.18 Pre-release 8, 1.18.1, 22w03a, 1.18.2, 22w19a, 1.19, 1.19.2, 22w42a, 1.20.2, 1.20.4, 23w51b, 24w07a, 24w14a
-
Confirmed
-
Mob spawning
The Bug
AbstractHorse entities can have up to 53 health points.
Expected Behavior
Any AbstractHorse creature should have a maximum of 25 health points.
How to reproduce
- Use a spawn egg to spawn a horse
- Inspect the horse's health:
/data get entity @e[type=horse,limit=1,sort=nearest] Health
→ The horse has 53 health
Code Analysis
The questionable value can be found in the AbstractHorse class:
public static AttributeSupplier.Builder createBaseHorseAttributes() { return Mob.createMobAttributes().add(Attributes.JUMP_STRENGTH).add(Attributes.MAX_HEALTH, 53.0D).add(Attributes.MOVEMENT_SPEED, 0.22499999403953552D); }
- causes
-
MC-195931 Incorrect amount of damage heart particles shown when hitting some entities for the first time
- Resolved
- is duplicated by
-
MC-203414 Summoned horses, donkeys, llamas and mules don't take damage on first hit
- Resolved
-
MC-216959 Horses/Donkeys/Mules from spawn eggs spawn with 53 health points, but after hitting they get a normal amount of health points
- Resolved
-
MC-232846 Summoned Minecraft Horses Variants Wrong Health
- Resolved
- relates to
-
MC-197818 Some attributes are not saved to NBT upon entity spawn (including player respawn)
- Open
-
MC-103250 Horse / Donkey / Mule health points is 26 ♥ by command to spawn
- Resolved
-
MC-267968 Medium slimes from trial chamber spawners take damage incorrectly when first hit
- Resolved
-
MC-195931 Incorrect amount of damage heart particles shown when hitting some entities for the first time
- Resolved