The bug
If you spawn an entity (that either starts floating or falling) and use the command
/data merge entity @e[type=minecraft:falling_block,limit=1] {NoGravity:1b}the entity doesn't stop moving until some seconds, instead of that it goes more and more slowly.
How to reproduce
Method 1:
Create a falling_block by placing a sand block, immediately after that use the command (said above)
Method 2:
Set a command block as 'Repeating' and 'Always Active,' place a dropper with something inside and give the dropper power
Attachments
Comments 14
Confirmed for 1.13.1.
Command: /data merge entity @e[type=minecraft:falling_block,limit=1] {NoGravity:1b}Agreed with tryshtar, additionally editing nbt tags during the lifetime of an entity is not supported.
Makes perfect sense: gravity stops giving it more momentum, but it still has some until air resistance slows it down.