Resetting Chests for Specific Players - LootrMinecraft/Lootr GitHub Wiki
To clear generated loot for specific players, you can use the following commands:
1.21
The /lootr clear <player_name> command allows you to specify a player name to clear, and you will be told how many containers were cleared.
This will also reset visuals for that player.
The /lootr cclear command functions the same way, but supports entity selectors like @a, @e, etc.
1.20
The /lootr clear <player_name> command allows you to specify a player name to clear. You will be told how many containers were cleared.
Please note: while this will clear the generated loot, it will not change the visual appearance of the container for that player. Thus, containers they have previously opened will still appear "opened", even if those containers have been cleared.
1.20 for Forge
Version 0.7.35.91 for Forge (only Forge) also has the /lootr cclear command which supports entity selectors like @e, @a, etc.
Before 1.20
Unfortunately, it is not consistently possible to safely clear generated in earlier versions of Lootr.
The /lootr clear <player_name> command exists, but it may not function as expected depending on the version.