add to your information: the footstep particle got removed in 17w47a (1.13 Snapshot) [ATTACH]
Hello, this is already a feature in minecraft, it's /gamerule KeepInventory true
Separate names with a comma.