Mojira Archive
MC-272231

Rabbits spawned before 1.9 still have 10 health

Summary:
Relates to MC-271000. In 1.9 it was changed that rabbits have 3 health instead of 10. However upgrading worlds from before 1.9 does not update the health of old rabbits. This applies to both max health and current health.

Steps to reproduce:
Use this world to go straight to step 3 2024-05-20_01-19-52_New World-----.zip.

  1. Start version 1.8.9.
  2. Spawn rabbits.
  3. Upgrade the world to the latest version.
  4. /attribute @e[type=minecraft:rabbit,limit=1,sort=nearest] minecraft:generic.max_health base get
  5. /data get entity @e[type=minecraft:rabbit,limit=1,sort=nearest] Health

Observed results:
The rabbit has 10 health, meaning you cannot one hit kill it with an unenchanted netherite sword.

Expected results:
The rabbit should have 3 health just like newly spawned rabbits.

Screenshots:

Unresolved

[Mod] EVGENSYPERPRO

2024-05-19, 10:23 PM

2024-09-06, 02:12 PM

1

2

Confirmed

Low

Platform

Datafixer

1.20.6, 24w20a, 1.21.1, 24w36a

-