The Bug:
Fall damage is reset when an entity converts to another entity.
See this comment by @unknown for more information.
To Reproduce
Summon a piglin that converts to a zombified piglin right before it hits the ground by using the command provided below.
/summon minecraft:piglin ~ ~31 ~ {TimeInOverworld:270}
Notice that after the piglin converts to a zombified piglin (while falling) and does not die when hitting the ground.
Attachments
Comments 15
Hi there!
@unknown, it's pretty clear to me.
Steps to reproduce:
I'll be using the coordinates (0, 0) in my commands. You can change it to whatever you'd like.
Place a dirt block (or could be other blocks) at (0, 72, 0)
Run the command:
/summon minecraft:piglin 0 106 0 {TimeInOverworld: 270}
Notice that after the piglin converts to a zombified piglin (while falling) and does not die when hitting the ground.
Can confirm in 1.18.2 and 22w12a. The following command can be used whilst standing on the ground to more easily reproduce this issue.
/summon minecraft:piglin ~ ~31 ~ {TimeInOverworld:270}
Incomplete bug report, please clarify.