Brief summary: This bug makes you unable to move, use weapons and use bows or tridents.
Method:
Do /gamerule AutoRespawn true
then /attribute <player name> minecraft:generic.max_health 0
then kill the player in any form and the player will become stuck and have to no longer use the corrupted world.
Duplicate of MC-179863