The Graves datapack creates a grave when you die to hold your dropped items. Recover the items by interacting with that grave.

List your graves

Use /trigger graves to list your graves.

Recover your items

  1. Note any location information shown when you die, and return to the area.
  2. Find your grave.
  3. Right-click or left-click the grave to retrieve its contents, as described by the pack author for this version.

Sources

Official Vanilla Tweaks 26.3 pack descriptions, Graves 4.1.2.