ddenis
Here is the exact config from my server that does what you'd want.
In your case, you'd want to only use "container.inventory": " "
not the rest.
#This file contains language edits to general things in C0D3.
info:
namespace: menu
minecraft_lang_overwrite:
inv_edits:
entries:
"container.inventory": " "
"effect.minecraft.unluck": "Use /CD3 to TP!"
"effect.minecraft.luck": "Drunk"
languages:
- ALL