The bug
The drowned spawned with NoGravity
tag can still fall. It just falls slightly slower than without it. Other entities seem to be unaffected.
How to reproduce
Fly above ground in creative mode
Run this command:
/summon minecraft:drowned ~ ~ ~ {NoGravity:1b}
→ ❌ Notice the drowned slowly fall to the ground
Linked issues
is duplicated by 1
Attachments
Comments 17
NoGravity:1 disables the downward acceleration of the drowned, but it still falls at constant speed.
I suspected that the downward motion was written into its AI, and testing seems to support my hypothesis.
Calling the following command causes the drowned to no longer fall by disabling its AI.
summon minecraft:drowned ~ ~ ~ {NoGravity:1, NoAI:1}
See attachment for testing screenshots.
The drowned with the {{NoGravity}} tag make them look like they have the Slow Falling effect but they fall even slower than the effect itself.
Can confirm in 21w41a. The expected behavior would be that the "NoGravity" tag functions correctly with drowned.
If you spawn a turtle above the water with NoGravity:1b, it will also go into the water after some time, if you spawn any fish type in the water, it will just go and swim with NoGravity:1b.