How to use replaceitem in 1.17?

I noticed /replaceitem seems to be gone in 1.17 released version, is this not intended or is there another way to use it now?


Solution 1:

Nevermind, it's /item replace entity [entity] [slot] with [item] now