The Bug:
Entities with their "NoGravity" tag set to "1b" don't receive any vertical knockback.
Steps to Reproduce:
Summon a husk that has its "NoGravity" NBT tag set to "1b" by using the command provided below.
/summon minecraft:husk ~ ~1 ~ {NoGravity:1b}
Attack the husk and as you do this, watch it closely.
Take note as to whether or not entities with their "NoGravity" tag set to "1b" receive any vertical knockback.
Observed Behavior:
Entities don't receive any vertical knockback.
Expected Behavior:
Entities would receive vertical knockback.
Related issues
Attachments
Comments


The command I gave in the bug report doesn't seem to work in the 1.13. snapshots anymore. It would be great if anybody knew how to fix the commandblock necessary for NoGravity-tests.

Done

Thanks a lot! I have added the command to my other reports as well 🙂

Confirmed in 1.16.1.

In 20w28a
Can confirm in 20w51a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Video attached.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 21w11a.
Can confirm in 21w16a.
Can confirm in 1.17.
Can confirm in 1.17.1.

this also aplies to mobs floating in water

This feature was introduced in version 1.9. It modifies the game so that entities experience vertical knockback only when they have solid ground beneath them. This adjustment aims to prevent entities from being launched excessively high into the air.